virtio: console: Remove cached data on port close
authorAmit Shah <amit.shah@redhat.com>
Mon, 21 Dec 2009 16:45:30 +0000 (22:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:57 +0000 (14:22 +1030)
Remove any data that we might have in a port's inbuf when closing a port
or when any data is received when a port is closed.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c

Simple merge