net: fib: fix incorrect call_rcu_bh()
authorEric Dumazet <edumazet@google.com>
Tue, 7 Aug 2012 00:47:11 +0000 (00:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2012 22:57:46 +0000 (15:57 -0700)
commit0c03eca3d995e73d691edea8c787e25929ec156d
treebf32062d9e69fe0c5d91587e5be3fcaaa0972433
parent08252b32311c3fa84219ad794d640af7399b5485
net: fib: fix incorrect call_rcu_bh()

After IP route cache removal, I believe rcu_bh() has very little use and
we should remove this RCU variant, since it adds some cycles in fast
path.

Anyway, the call_rcu_bh() use in fib_true is obviously wrong, since
some users only assert rcu_read_lock().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c