Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195144
b: refs/heads/master
c: ebda37c
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed May 18, 2010
1 parent 8e43062 commit 2b4fee2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 3f78d1f210ff89af77f042ab7f4a8fee39feb1c9
refs/heads/master: ebda37c27d0c768947e9b058332d7ea798210cf8
6 changes: 4 additions & 2 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2432,8 +2432,10 @@ static int enqueue_to_backlog(struct sk_buff *skb, int cpu,
return NET_RX_SUCCESS;
}

/* Schedule NAPI for backlog device */
if (napi_schedule_prep(&sd->backlog)) {
/* Schedule NAPI for backlog device
* We can use non atomic operation since we own the queue lock
*/
if (!__test_and_set_bit(NAPI_STATE_SCHED, &sd->backlog.state)) {
if (!rps_ipi_queued(sd))
____napi_schedule(sd, &sd->backlog);
}
Expand Down

0 comments on commit 2b4fee2

Please sign in to comment.