diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 6 |
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: |