From: Eric Dumazet Date: Sat, 15 Aug 2015 17:54:07 +0000 (-0700) Subject: ipv4: fix refcount leak in fib_check_nh() X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e3136789975f03e461798149309034e5213c1b4;p=pandora-kernel.git ipv4: fix refcount leak in fib_check_nh() fib_lookup() forces FIB_LOOKUP_NOREF flag, while fib_table_lookup() does not. This patch solves the typical message at reboot time or device dismantle : unregister_netdevice: waiting for eth0 to become free. Usage count = 4 Fixes: 3bfd847203c6 ("net: Use passed in table for nexthop lookups") Signed-off-by: Eric Dumazet Cc: David Ahern Acked-by: David Ahern Signed-off-by: David S. Miller --- Reading git-diff-tree failed