linux-imx/drivers/usb/serial
Johan Hovold 8b23634239 USB: serial: omninet: fix reference leaks at open
commit 30572418b4 upstream.

This driver needlessly took another reference to the tty on open, a
reference which was then never released on close. This lead to not just
a leak of the tty, but also a driver reference leak that prevented the
driver from being unloaded after a port had once been opened.

Fixes: 4a90f09b20 ("tty: usb-serial krefs")
Signed-off-by: Johan Hovold <johan@kernel.org>
[bwh: Backported to 3.2:
 - The 'serial' variable is still needed for other initialisation
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-06-05 21:13:56 +01:00
..
aircable.c
ark3116.c USB: serial: ark3116: fix open error handling 2017-06-05 21:13:42 +01:00
belkin_sa.c
belkin_sa.h
bus.c USB: serial: fix tty-device error handling at probe 2015-05-09 23:16:21 +01:00
ch341.c USB: serial: ch341: fix modem-status handling 2017-06-05 21:13:41 +01:00
ChangeLog.history
console.c USB: console: fix potential use after free 2015-02-20 00:49:36 +00:00
cp210x.c USB: serial: cp210x: add new IDs for GE Bx50v3 boards 2017-06-05 21:13:47 +01:00
cyberjack.c USB: serial: cyberjack: fix NULL-deref at open 2017-03-16 02:18:35 +00:00
cypress_m8.c USB: cypress_m8: add endpoint sanity check 2016-05-01 00:05:22 +02:00
cypress_m8.h USB: cypress_m8: fix ring-indicator detection and reporting 2014-04-02 00:58:41 +01:00
digi_acceleport.c USB: serial: digi_acceleport: fix incomplete rx sanity check 2017-06-05 21:13:46 +01:00
empeg.c
ezusb_convert.pl
ezusb.c
ftdi_sio_ids.h USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad 2017-02-23 03:50:59 +00:00
ftdi_sio.c USB: serial: ftdi_sio: fix line-status over-reporting 2017-06-05 21:13:47 +01:00
ftdi_sio.h USB: ftdi_sio: add support for FT-X series devices 2012-04-02 09:52:10 -07:00
funsoft.c
garmin_gps.c USB: serial: garmin_gps: fix memory leak on failed URB submit 2017-03-16 02:18:35 +00:00
generic.c USB: serial: fix race in generic write 2014-01-03 04:33:25 +00:00
hp4x.c
io_16654.h
io_edgeport.c USB: serial: io_edgeport: fix descriptor error handling 2017-06-05 21:13:42 +01:00
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c USB: serial: io_ti: fix information leak in completion handler 2017-06-05 21:13:56 +01:00
io_ti.h
io_usbvend.h USB: io_ti: fix firmware download on big-endian machines (part 2) 2014-07-11 13:33:42 +01:00
ipaq.c USB: ipaq.c: fix a timeout loop 2016-01-22 21:40:07 +00:00
ipw.c
ir-usb.c
iuu_phoenix.c USB: serial: iuu_phoenix: fix NULL-deref at open 2017-03-16 02:18:36 +00:00
iuu_phoenix.h
Kconfig USB: serial: keyspan_pda: fix Entrega company name spelling 2015-05-09 23:16:31 +01:00
keyspan_pda.c USB: serial: keyspan_pda: fix receive sanity checks 2017-06-05 21:13:46 +01:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: keyspan: fix overrun-error reporting 2014-12-14 16:23:58 +00:00
keyspan.h
kl5kusb105.c USB: serial: kl5kusb105: abort on open exception path 2017-03-16 02:18:28 +00:00
kl5kusb105.h
kobil_sct.c USB: serial: kobil_sct: fix NULL-deref in write 2017-03-16 02:18:36 +00:00
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: mct_u232: fix modem-status error handling 2017-06-05 21:13:43 +01:00
mct_u232.h
mos7720.c USB: serial: mos7720: fix parallel probe 2017-03-16 02:18:37 +00:00
mos7840.c USB: serial: mos7840: fix another NULL-deref at open 2017-06-05 21:13:47 +01:00
moto_modem.c
navman.c
omninet.c USB: serial: omninet: fix reference leaks at open 2017-06-05 21:13:56 +01:00
opticon.c USB: opticon: fix non-atomic allocation in write path 2014-12-14 16:23:54 +00:00
option.c USB: serial: option: add device ID for HP lt2523 (Novatel E371) 2017-03-16 02:18:46 +00:00
oti6858.c USB: serial: oti6858: fix NULL-deref at open 2017-03-16 02:18:38 +00:00
oti6858.h
pl2303.c USB: serial: pl2303: add ATEN device ID 2017-03-16 02:18:47 +00:00
pl2303.h USB: serial: pl2303: add ATEN device ID 2017-03-16 02:18:47 +00:00
qcaux.c qcaux: add Franklin U600 2013-03-20 15:03:32 +00:00
qcserial.c USB: option,qcserial: move Novatel Gobi1K IDs to qcserial 2013-07-27 05:34:17 +01:00
safe_serial.c
siemens_mpi.c
sierra.c USB: sierra: add 1199:68AB device ID 2015-10-13 03:46:01 +01:00
spcp8x5.c USB: serial: spcp8x5: fix NULL-deref at open 2017-03-16 02:18:38 +00:00
ssu100.c USB: serial: ssu100: fix control-message error handling 2017-06-05 21:13:43 +01:00
symbolserial.c
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: fix control-message error handling 2017-06-05 21:13:43 +01:00
ti_usb_3410_5052.h USB: ti_usb_3410_5052: Add Honeywell HGI80 ID 2015-12-30 02:25:55 +00:00
usb_debug.c
usb_wwan.c USB: usb_wwan: fix potential blocked I/O after resume 2014-07-11 13:33:40 +01:00
usb-serial.c USB: serial: fix potential heap buffer overflow 2014-09-13 23:41:47 +01:00
usb-wwan.h
visor.c USB: serial: visor: fix crash on detecting device without write_urbs 2016-02-27 14:28:43 +00:00
visor.h
vivopay-serial.c
whiteheat.c USB: whiteheat: fix potential null-deref at probe 2015-10-13 03:46:11 +01:00
whiteheat.h
zio.c