summaryrefslogtreecommitdiffstats
path: root/include/linux/usbdevice_fs.h
diff options
context:
space:
mode:
authorBorislav Petkov <bbpetkov@yahoo.de>2007-10-28 13:24:16 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-11-28 13:58:34 -0800
commitbfaeafcfc2242277e31cc1cfae687afaac0cd9ec (patch)
tree15b6a182df4e0d2d15a26a9c10124b7ec18e82a3 /include/linux/usbdevice_fs.h
parented206ec9ab398e1c3756ff0eb9507db1d009e65f (diff)
downloadblackbird-op-linux-bfaeafcfc2242277e31cc1cfae687afaac0cd9ec.tar.gz
blackbird-op-linux-bfaeafcfc2242277e31cc1cfae687afaac0cd9ec.zip
usbserial: fix inconsistent lock state
In commit acd2a847e7fee7df11817f67dba75a2802793e5d usb_serial_generic_write() disables interrupts when taking &port->lock which is also taken in usb_serial_generic_read_bulk_callback() resulting in an inconsistent lock state due to the latter not disabling interrupts on the local cpu. Fix that by disabling interrupts in the latter call site also. Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> Acked-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usbdevice_fs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud