diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-10-20 00:05:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-25 21:18:45 +0200 |
commit | acd2a847e7fee7df11817f67dba75a2802793e5d (patch) | |
tree | 7eba6fe6c15f5f11ffdec779c9979f1ec6b4c6b9 /drivers/usb/gadget | |
parent | usb: serial/pl2303: support for IO Data Device RSAQ5 (diff) | |
download | linux-acd2a847e7fee7df11817f67dba75a2802793e5d.tar.xz linux-acd2a847e7fee7df11817f67dba75a2802793e5d.zip |
USB: usbserial - fix potential deadlock between write() and IRQ
USB: usbserial - fix potential deadlock between write() and IRQ
usb_serial_generic_write() doesn't disable interrupts when taking port->lock,
and could therefore deadlock with usb_serial_generic_read_bulk_callback()
being called from interrupt, taking the same lock. Fix it.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Acked-by: Larry Finger <larry.finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions