virtio_console: Free buffers from out-queue upon close
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Fri, 16 Nov 2012 00:50:19 +0000 (11:20 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Dec 2012 04:50:41 +0000 (15:20 +1030)
commiteb34f12b509823571e88b791ae2088280943894f
tree6f20772af6a9560ed3dc4dec3eeaa45247fcc42b
parent800ba5eabf13485fecbf468f6b2999608413d176
virtio_console: Free buffers from out-queue upon close

Free pending output buffers from the virtio out-queue when
host has acknowledged port_close.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (rebased & cut down)
drivers/char/virtio_console.c