diff options
author | Heinz Graalfs <graalfs@linux.vnet.ibm.com> | 2014-02-27 14:34:35 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-03-04 10:41:03 +0100 |
commit | 2e0210432d34bc7f01644905c2bb2d5d9be5b6ac (patch) | |
tree | ecc95786e82a53aeff50efb50913aeb4bb9b9f32 /drivers/usb/serial/pl2303.h | |
parent | 1ee0bc559dc34fe36a29494faf7b7c91533bd31c (diff) | |
download | op-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/pl2303.h')
0 files changed, 0 insertions, 0 deletions