]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: add locks around buffer removal in port unplug path
authorAmit Shah <amit.shah@redhat.com>
Mon, 29 Jul 2013 04:53:46 +0000 (14:23 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Jul 2013 05:20:47 +0000 (14:50 +0930)
commit89ddb0c4005a35114d93057c7c2676e28d5e4850
treeaa150eca5cdcb617606cc6aa23ea340392106e6e
parenta2a2656d7c2810809bc6e53bef07659ce5d174ac
virtio: console: add locks around buffer removal in port unplug path

The removal functions act on the vqs, and the vq operations need to be
locked.

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