Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179825
b: refs/heads/master
c: 39d3215
h: refs/heads/master
i:
  179823: 1cc2346
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jan 25, 2010
1 parent d6398c8 commit 221d559
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 5a27e86babe79cf5f575394bb1055448458df6c7
refs/heads/master: 39d321577405e8e269fd238b278aaf2425fa788a
3 changes: 1 addition & 2 deletions trunk/drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,7 @@ static void refill_work(struct work_struct *work)

vi = container_of(work, struct virtnet_info, refill.work);
napi_disable(&vi->napi);
try_fill_recv(vi, GFP_KERNEL);
still_empty = (vi->num == 0);
still_empty = !try_fill_recv(vi, GFP_KERNEL);
napi_enable(&vi->napi);

/* In theory, this can happen: if we don't get any buffers in
Expand Down

0 comments on commit 221d559

Please sign in to comment.