commit | acd2a847e7fee7df11817f67dba75a2802793e5d | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Sat Oct 20 00:05:19 2007 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Oct 25 12:18:45 2007 -0700 |
tree | 7eba6fe6c15f5f11ffdec779c9979f1ec6b4c6b9 | |
parent | 8a28dea3accda319d51a1bf4d3e280771d946f78 [diff] |
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>