]> git.karo-electronics.de Git - mv-sheeva.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)
commit88f251ac58b2460ed16ff619a020ad3ef365e607
treec44ba54bfc42897e554399ca66f19ca720f8a751
parent431edb8a8bca71008fefceadf53b9315ef7196ec
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