Re: [PATCH v3 7/9] virtio: console: add locking in port unplug path

2013-07-29 Thread Rusty Russell
Amit Shah amit.s...@redhat.com writes: Port unplug can race with close() in port_fops_release(). port_fops_release() already takes the necessary locks, ensure unplug_port() does that too. Signed-off-by: Amit Shah amit.s...@redhat.com Applied, Rusty. --- drivers/char/virtio_console.c | 2

[PATCH v3 7/9] virtio: console: add locking in port unplug path

2013-07-25 Thread Amit Shah
Port unplug can race with close() in port_fops_release(). port_fops_release() already takes the necessary locks, ensure unplug_port() does that too. Signed-off-by: Amit Shah amit.s...@redhat.com --- drivers/char/virtio_console.c | 2 ++ 1 file changed, 2 insertions(+) diff --git