rcu: rcu_read_lock_bh_held(): disabling irqs also disables bh
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 22 Sep 2010 06:38:44 +0000 (08:38 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 23 Sep 2010 15:25:17 +0000 (08:25 -0700)
commitb3a084b9b684622b149e8dcf03855bf0d5fb588b
tree0c04087b9819e64530f14aed21eb4e3453d75d53
parent27c379f7f89a4d558c685b5d89b5ba2fe79ae701
rcu: rcu_read_lock_bh_held(): disabling irqs also disables bh

rcu_dereference_bh() doesnt know yet about hard irq being disabled, so
lockdep can trigger in netpoll_rx() after commit f0f9deae9e7c4 (netpoll:
Disable IRQ around RCU dereference in netpoll_rx)

Reported-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h