diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 7bd3c29c5a78..c01303129119 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2627,9 +2627,9 @@ static int process_backlog(struct napi_struct *napi, int quota) | |||
2627 | local_irq_disable(); | 2627 | local_irq_disable(); |
2628 | skb = __skb_dequeue(&queue->input_pkt_queue); | 2628 | skb = __skb_dequeue(&queue->input_pkt_queue); |
2629 | if (!skb) { | 2629 | if (!skb) { |
2630 | __napi_complete(napi); | ||
2631 | local_irq_enable(); | 2630 | local_irq_enable(); |
2632 | break; | 2631 | napi_complete(napi); |
2632 | goto out; | ||
2633 | } | 2633 | } |
2634 | local_irq_enable(); | 2634 | local_irq_enable(); |
2635 | 2635 | ||
@@ -2638,6 +2638,7 @@ static int process_backlog(struct napi_struct *napi, int quota) | |||
2638 | 2638 | ||
2639 | napi_gro_flush(napi); | 2639 | napi_gro_flush(napi); |
2640 | 2640 | ||
2641 | out: | ||
2641 | return work; | 2642 | return work; |
2642 | } | 2643 | } |
2643 | 2644 | ||