From: Ying Xue Date: Fri, 15 May 2015 04:53:21 +0000 (+0800) Subject: rocker: fix a neigh entry leak issue X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~278 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4133fc0952cbe724161b729fb4cc63a29b5bbbfe;p=pandora-kernel.git 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 Acked-by: Jiri Pirko Acked-by: Eric Dumazet Signed-off-by: Ying Xue Acked-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed