Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347473
b: refs/heads/master
c: eb34f12
h: refs/heads/master
i:
  347471: 83cc1d5
v: v3
  • Loading branch information
sjur.brandeland@stericsson.com authored and Rusty Russell committed Dec 18, 2012
1 parent ed36114 commit 5f33511
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 800ba5eabf13485fecbf468f6b2999608413d176
refs/heads/master: eb34f12b509823571e88b791ae2088280943894f
4 changes: 4 additions & 0 deletions trunk/drivers/char/virtio_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,10 @@ static void remove_port_data(struct port *port)
/* Remove buffers we queued up for the Host to send us data in. */
while ((buf = virtqueue_detach_unused_buf(port->in_vq)))
free_buf(buf);

/* Free pending buffers from the out-queue. */
while ((buf = virtqueue_detach_unused_buf(port->out_vq)))
free_buf(buf);
}

/*
Expand Down

0 comments on commit 5f33511

Please sign in to comment.