virtio: console: fix locking around send_sigio_to_port()
authorAmit Shah <amit.shah@redhat.com>
Mon, 29 Jul 2013 04:55:38 +0000 (14:25 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Jul 2013 05:20:49 +0000 (14:50 +0930)
send_sigio_to_port() checks the value of guest_connected, which we
always modify under the inbuf_lock; make sure invocations of
send_sigio_to_port() have take the inbuf_lock around the call.

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

No differences found