summaryrefslogtreecommitdiff
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-15 10:22:33 +1030
committerRusty Russell <rusty@rustcorp.com.au>2014-10-15 10:25:12 +1030
commite67423c7b4f20c327de533b068907aab33720482 (patch)
tree48c0db846c0d9ca6bea32f87adfbfebb5b385c2c /drivers/virtio
parent1fa5b2a784dc52d929432bcc963a0bfb3a74608f (diff)
virtio_scsi: fix race on device removal
We cancel event work on device removal, but an interrupt could trigger immediately after this, and queue it again. To fix, set a flag. Loosely based on patch by Paolo Bonzini Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions