linux/drivers/usb/serial
Borislav Petkov bfaeafcfc2 usbserial: fix inconsistent lock state
In commit acd2a847e7 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>
2007-11-28 13:58:34 -08:00
..
aircable.c
airprime.c
ark3116.c USB: ark3116: update termios handling 2007-10-25 12:18:40 -07:00
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: ch341: fix termios handling 2007-10-25 12:18:40 -07:00
ChangeLog.history Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
console.c usb serial: kill another case we pass NULL and shouldn't 2007-10-25 12:18:40 -07:00
cp2101.c USB: cp2101: convert to new termios 2007-10-25 12:18:42 -07:00
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c USB: digi_acceleport: fix termios and also readability a bit 2007-10-25 12:18:41 -07:00
empeg.c USB: empeg: clean up and handle speeds 2007-10-25 12:18:41 -07:00
ezusb_convert.pl
ezusb.c
ftdi_sio.c USB: ftd_sio cleanups and updates for new termios work checkpatch fixes 2007-10-25 12:18:42 -07:00
ftdi_sio.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
funsoft.c
garmin_gps.c
generic.c usbserial: fix inconsistent lock state 2007-11-28 13:58:34 -08:00
hp4x.c
io_16654.h
io_edgeport.c USB: io_edgeport: cleanups, and tty speed reporting 2007-10-25 12:18:43 -07:00
io_edgeport.h
io_fw_boot2.h
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h
io_fw_down.h
io_ionsp.h
io_tables.h
io_ti.c
io_ti.h
io_usbvend.h
ipaq.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
ipaq.h
ipw.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
ir-usb.c USB: ir_usb: termios handling 2007-10-25 12:18:41 -07:00
Kconfig typo fixes 2007-10-20 01:34:40 +02:00
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c keyspan: init termios properly 2007-11-14 18:45:44 -08:00
keyspan.h
kl5kusb105.c
kl5kusb105.h
kobil_sct.c USB: kobil_sct: termios encoding fixups 2007-10-25 12:18:41 -07:00
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c
mct_u232.h
mos7720.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
mos7840.c USB: free memory when writing fails in usb/serial/mos7840.c 2007-11-28 13:58:33 -08:00
navman.c
omninet.c
option.c USB: option: termios handling 2007-10-25 12:18:41 -07:00
oti6858.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
oti6858.h
pl2303.c USB: pl2303: add support for Corega CG-USBRS232R 2007-11-28 13:58:33 -08:00
pl2303.h USB: pl2303: add support for Corega CG-USBRS232R 2007-11-28 13:58:33 -08:00
safe_serial.c
sierra.c USB: sierra: termios 2007-10-25 12:18:42 -07:00
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c
ti_usb_3410_5052.h
usb_debug.c
usb-serial.c USB: usb_serial_resume bug fix 2007-10-25 12:18:45 -07:00
visor.c
visor.h
whiteheat_fw.h
whiteheat.c USB: whiteheat: clean up can't happen checks and encode baud rate 2007-10-25 12:18:42 -07:00
whiteheat.h
xircom_pgs_fw.h
xircom_pgs.S