aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/Kbuild
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-09-17 19:55:03 -0400
committerDavid S. Miller <davem@davemloft.net>2010-09-17 19:55:03 -0400
commitf0f9deae9e7c421fa0c1c627beb8e174325e1ba7 (patch)
tree7883b0c64cc16f1c3f3f4360a4dbcc214e6a6a22 /include/linux/Kbuild
parent4bdab43323b459900578b200a4b8cf9713ac8fab (diff)
netpoll: Disable IRQ around RCU dereference in netpoll_rx
We cannot use rcu_dereference_bh safely in netpoll_rx as we may be called with IRQs disabled. We could however simply disable IRQs as that too causes BH to be disabled and is safe in either case. Thanks to John Linville for discovering this bug and providing a patch. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/Kbuild')
0 files changed, 0 insertions, 0 deletions