diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-09-17 16:55:03 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-17 16:55:03 -0700 |
commit | f0f9deae9e7c421fa0c1c627beb8e174325e1ba7 (patch) | |
tree | 7883b0c64cc16f1c3f3f4360a4dbcc214e6a6a22 /drivers/dca | |
parent | 4bdab43323b459900578b200a4b8cf9713ac8fab (diff) | |
download | op-kernel-dev-f0f9deae9e7c421fa0c1c627beb8e174325e1ba7.zip op-kernel-dev-f0f9deae9e7c421fa0c1c627beb8e174325e1ba7.tar.gz |
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 'drivers/dca')
0 files changed, 0 insertions, 0 deletions