Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74038
b: refs/heads/master
c: 8329d98
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Nov 19, 2007
1 parent 7a3bcfe commit c2ada17
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 9a4b9708f1f2eaf5edd619df578cf3afec36eb82
refs/heads/master: 8329d98e480250ef5f5a083f9c3af50510b5e65d
4 changes: 2 additions & 2 deletions trunk/drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ static int virtnet_poll(struct napi_struct *napi, int budget)
if (vi->num < vi->max / 2)
try_fill_recv(vi);

/* All done? */
if (!skb) {
/* Out of packets? */
if (received < budget) {
netif_rx_complete(vi->dev, napi);
if (unlikely(!vi->rvq->vq_ops->restart(vi->rvq))
&& netif_rx_reschedule(vi->dev, napi))
Expand Down

0 comments on commit c2ada17

Please sign in to comment.