Files
android_kernel_xiaomi_sm8450/drivers/usb/serial
Jiri Kosina acd2a847e7 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>
2007-10-25 12:18:45 -07:00
..
2007-10-12 14:55:20 -07:00
2007-10-25 12:18:40 -07:00
2007-10-25 12:18:42 -07:00
2007-10-25 12:18:41 -07:00
2006-12-01 14:23:27 -08:00
2007-10-12 14:55:32 -07:00
2007-10-25 12:18:41 -07:00
2007-10-20 01:34:40 +02:00
2007-10-25 12:18:41 -07:00
2007-10-25 12:18:41 -07:00
2007-10-25 12:18:42 -07:00
2007-10-12 14:55:32 -07:00
2007-08-22 14:27:43 -07:00