]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f40cea25bb277bd49ef793f7655da4ffb2ee72c
treec44ba54bfc42897e554399ca66f19ca720f8a751
parent7d1c3c016d44595df546f8f53446e4dabf9bf084
virtio: console: Remove cached data on port close

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