summaryrefslogtreecommitdiffstats
path: root/drivers/char/snsc.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2013-07-29 06:55:38 +0200
committerRusty Russell <rusty@rustcorp.com.au>2013-07-29 07:20:49 +0200
commit314081f1025e9ea77b69261f21183e9be18a6f91 (patch)
tree5e6dc6c56dc4017999f646f4916cb3f8cc0055e5 /drivers/char/snsc.c
parentvirtio: console: add locking in port unplug path (diff)
downloadlinux-314081f1025e9ea77b69261f21183e9be18a6f91.tar.xz
linux-314081f1025e9ea77b69261f21183e9be18a6f91.zip
virtio: console: fix locking around send_sigio_to_port()
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>
Diffstat (limited to 'drivers/char/snsc.c')
0 files changed, 0 insertions, 0 deletions