Re: [PATCH net-next] ipv4: fix refcount leak in fib_check_nh()

2015-08-16 Thread David Miller
From: Eric Dumazet Date: Sat, 15 Aug 2015 10:54:07 -0700 > From: Eric Dumazet > > 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 beco

Re: [PATCH net-next] ipv4: fix refcount leak in fib_check_nh()

2015-08-15 Thread David Ahern
On 8/15/15 11:54 AM, Eric Dumazet wrote: From: Eric Dumazet 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: 3

[PATCH net-next] ipv4: fix refcount leak in fib_check_nh()

2015-08-15 Thread Eric Dumazet
From: Eric Dumazet 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