]> git.baikalelectronics.ru Git - kernel.git/commit
fib: add rtnl locking in ip_fib_net_exit
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 30 Mar 2011 23:57:46 +0000 (16:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Mar 2011 23:57:46 +0000 (16:57 -0700)
commit7dc1a2759cfa1be6c94d4c3fc14c079f3589d9ed
treef8fdca8163bf15d98468c63d4d98932ded0ec96f
parentcff546b20a9d65b9ad0206d4728b74f24b485837
fib: add rtnl locking in ip_fib_net_exit

Daniel J Blueman reported a lockdep splat in trie_firstleaf(), caused by
RTNL being not locked before a call to fib_table_flush()

Reported-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c