diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-01 00:11:52 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-01 00:11:52 -0800 |
commit | 4ead443163b798661c2a2ede5e512e116a9e41e7 (patch) | |
tree | 7fb2f0cf1446315805c9ddc3362b124c374c8695 /include/linux/leds-pca9532.h | |
parent | 18963caaf55240d6a0491bdb27b7fef2882ffb15 (diff) |
netpoll: Add drop checks to all entry points
The netpoll entry checks are required to ensure that we don't
receive normal packets when invoked via netpoll. Unfortunately
it only ever worked for the netif_receive_skb/netif_rx entry
points. The VLAN (and subsequently GRO) entry point didn't
have the check and therefore can trigger all sorts of weird
problems.
This patch adds the netpoll check to all entry points.
I'm still uneasy with receiving at all under netpoll (which
apparently is only used by the out-of-tree kdump code). The
reason is it is perfectly legal to receive all data including
headers into highmem if netpoll is off, but if you try to do
that with netpoll on and someone gets a printk in an IRQ handler
you're going to get a nice BUG_ON.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/leds-pca9532.h')
0 files changed, 0 insertions, 0 deletions