Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341738
b: refs/heads/master
c: 64e9a9b
h: refs/heads/master
v: v3
  • Loading branch information
Michael S. Tsirkin authored and David S. Miller committed Dec 3, 2012
1 parent 418c23e commit a1a585f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e14bd390ebe41e8b83855fd85fb64478c7c5ee2
refs/heads/master: 64e9a9b8a0eef9cbd9f86f0e79fc4eeea24abe76
3 changes: 3 additions & 0 deletions trunk/drivers/vhost/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,9 @@ static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd)
r = vhost_init_used(vq);
if (r)
goto err_vq;

n->tx_packets = 0;
n->tx_zcopy_err = 0;
}

mutex_unlock(&vq->mutex);
Expand Down

0 comments on commit a1a585f

Please sign in to comment.