summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-03-02 06:35:16 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-02 06:35:16 +0100
commitaa4abc9bcce0d2a7ec189e897f8f8c58ca04643b (patch)
tree22ef88d84a2e06380bb6a853c3ba28657e4e5f92 /net/core
parentjme: Adding {64,40}bits DMA mask back (diff)
parentzaurus: add usb id for motomagx phones (diff)
downloadlinux-aa4abc9bcce0d2a7ec189e897f8f8c58ca04643b.tar.xz
linux-aa4abc9bcce0d2a7ec189e897f8f8c58ca04643b.zip
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/iwlwifi/iwl-tx.c net/8021q/vlan_core.c net/core/dev.c
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index ac6ab12d3297..bcd0c2154bb2 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2487,6 +2487,9 @@ int napi_skb_finish(int ret, struct sk_buff *skb)
{
int err = NET_RX_SUCCESS;
+ if (netpoll_receive_skb(skb))
+ return NET_RX_DROP;
+
switch (ret) {
case GRO_NORMAL:
return netif_receive_skb(skb);
@@ -2584,6 +2587,9 @@ int napi_frags_finish(struct napi_struct *napi, struct sk_buff *skb, int ret)
{
int err = NET_RX_SUCCESS;
+ if (netpoll_receive_skb(skb))
+ return NET_RX_DROP;
+
switch (ret) {
case GRO_NORMAL:
case GRO_HELD: