summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorHeinz Graalfs <graalfs@linux.vnet.ibm.com>2014-02-27 14:34:35 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-03-04 10:41:03 +0100
commit2e0210432d34bc7f01644905c2bb2d5d9be5b6ac (patch)
treeecc95786e82a53aeff50efb50913aeb4bb9b9f32 /drivers/usb/serial
parent1ee0bc559dc34fe36a29494faf7b7c91533bd31c (diff)
downloadop-kernel-dev-2e0210432d34bc7f01644905c2bb2d5d9be5b6ac.zip
op-kernel-dev-2e0210432d34bc7f01644905c2bb2d5d9be5b6ac.tar.gz
virtio_ccw: fix vcdev pointer handling issues
The interrupt handler virtio_ccw_int_handler() using the vcdev pointer is protected by the ccw_device lock. Resetting the pointer within the ccw_device structure should be done when holding this lock. Also resetting the vcdev pointer (under the ccw_device lock) prior to freeing the vcdev pointer memory removes a critical path. Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud