Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154501
b: refs/heads/master
c: ff780cd
h: refs/heads/master
i:
  154499: 25d67e4
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jun 27, 2009
1 parent 4a02280 commit 4f53928
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71f9dacd2e4d233029e9e956ca3f79531f411827
refs/heads/master: ff780cd8f2fa928b193554f593b36d1243554212
8 changes: 5 additions & 3 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2823,9 +2823,11 @@ static void net_rx_action(struct softirq_action *h)
* move the instance around on the list at-will.
*/
if (unlikely(work == weight)) {
if (unlikely(napi_disable_pending(n)))
__napi_complete(n);
else
if (unlikely(napi_disable_pending(n))) {
local_irq_enable();
napi_complete(n);
local_irq_disable();
} else
list_move_tail(&n->poll_list, list);
}

Expand Down

0 comments on commit 4f53928

Please sign in to comment.