android_kernel_xiaomi_sm8350/drivers/usb/serial
Elina Pasheva b87c6e86da USB: serial: sierra driver indat_callback fix
A crash has been reported with sierra driver on disconnect with
Ubuntu/Lucid distribution based on kernel-2.6.32.
The cause of the crash was determined as "NULL tty pointer was being
referenced" and the NULL pointer was passed by sierra_indat_callback().

This patch modifies sierra_indat_callback() function to check for NULL
tty structure pointer. This modification prevents a crash from happening
when the device is disconnected.

This patch fixes the bug reported in Launchpad:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/511157

Signed-off-by: Elina Pasheva <epasheva@sierrawireless.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-02 14:55:03 -08:00
..
aircable.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ark3116.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
belkin_sa.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
belkin_sa.h
bus.c USB: usb-serial: call port_probe and port_remove at the right times 2009-06-15 21:44:47 -07:00
ch341.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ChangeLog.history
console.c USB serial: update the console driver 2009-09-19 13:13:42 -07:00
cp210x.c USB: cp210x: Add 81E8 (Zephyr Bioharness) 2010-03-02 14:55:01 -08:00
cyberjack.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
cypress_m8.c USB: serial: Eliminate useless code 2010-03-02 14:54:34 -08:00
cypress_m8.h trivial: fix typo "to to" in multiple files 2009-09-21 15:14:55 +02:00
digi_acceleport.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
empeg.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ezusb_convert.pl
ezusb.c
ftdi_sio_ids.h USB: add new ftdi_sio device ids 2010-03-02 14:54:53 -08:00
ftdi_sio.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
ftdi_sio.h USB: ftdi_sio: correct spelling in header files 2010-03-02 14:54:35 -08:00
funsoft.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
garmin_gps.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
generic.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
hp4x.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
io_16654.h
io_edgeport.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
io_edgeport.h
io_ionsp.h
io_tables.h USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
io_ti.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
io_ti.h
io_usbvend.h
ipaq.c USB: ipaq: fix oops when device is plugged in 2009-10-09 13:52:07 -07:00
ipaq.h
ipw.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ir-usb.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
iuu_phoenix.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
iuu_phoenix.h
Kconfig USB: serial: Add support for ViVOtech ViVOpay devices. 2010-03-02 14:54:57 -08:00
keyspan_pda.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c tty: USB does not need the filp argument in the drivers 2009-09-19 13:13:26 -07:00
keyspan.h USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
kl5kusb105.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
kl5kusb105.h
kobil_sct.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
kobil_sct.h
Makefile USB: serial: Add support for ViVOtech ViVOpay devices. 2010-03-02 14:54:57 -08:00
Makefile-keyspan_pda_fw
mct_u232.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
mct_u232.h USB: serial mct_usb232: move DMA buffers to heap 2010-03-02 14:53:06 -08:00
mos7720.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
mos7840.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
moto_modem.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
navman.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
omninet.c USB: Convert concatenated __FILE__ to %s, __FILE__ 2010-03-02 14:54:59 -08:00
opticon.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
option.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
oti6858.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
oti6858.h
pl2303.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
pl2303.h USB: serial: pl2303: new hardware support - sanwa multimeter 2009-09-23 06:46:15 -07:00
qcserial.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
safe_serial.c
siemens_mpi.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
sierra.c USB: serial: sierra driver indat_callback fix 2010-03-02 14:55:03 -08:00
spcp8x5.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
symbolserial.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ti_usb_3410_5052.c tty: USB does not need the filp argument in the drivers 2009-09-19 13:13:26 -07:00
ti_usb_3410_5052.h
usb_debug.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
usb-serial.c tty: Fix various bogus WARN checks in the usb serial layer 2010-03-02 14:55:02 -08:00
visor.c USB: serial: Remove unnecessary \n's from dbg uses 2010-03-02 14:54:58 -08:00
visor.h
vivopay-serial.c USB: serial: Add support for ViVOtech ViVOpay devices. 2010-03-02 14:54:57 -08:00
whiteheat.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
whiteheat.h