summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBorislav Petkov <bbpetkov@yahoo.de>2007-10-28 12:24:16 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2007-11-28 21:58:34 (GMT)
commitbfaeafcfc2242277e31cc1cfae687afaac0cd9ec (patch)
tree15b6a182df4e0d2d15a26a9c10124b7ec18e82a3 /include
parented206ec9ab398e1c3756ff0eb9507db1d009e65f (diff)
downloadlinux-fsl-qoriq-bfaeafcfc2242277e31cc1cfae687afaac0cd9ec.tar.xz
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')
0 files changed, 0 insertions, 0 deletions