diff options
| author | Ying Xue <[email protected]> | 2015-05-15 04:53:21 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-05-15 20:58:32 +0000 |
| commit | 4133fc0952cbe724161b729fb4cc63a29b5bbbfe (patch) | |
| tree | 62682d82b84f7ae1b2ae8d73a915514771eda28b /net/switchdev/switchdev.c | |
| parent | Merge branch 'amd-xgbe-next' (diff) | |
| download | kernel-4133fc0952cbe724161b729fb4cc63a29b5bbbfe.tar.gz kernel-4133fc0952cbe724161b729fb4cc63a29b5bbbfe.zip | |
rocker: fix a neigh entry leak issue
Once we get a neighbour through looking up arp cache or creating a
new one in rocker_port_ipv4_resolve(), the neighbour's refcount is
already taken. But as we don't put the refcount again after it's
used, this makes the neighbour entry leaked.
Suggested-by: Eric Dumazet <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: Ying Xue <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
