linux/drivers/usb/serial
Alan Cox fce4877a67 tty: Fix USB kref leak
When we close we must clear the extra reference we got when we read
port->tty. Setting the port tty NULL will clear the kref held by the driver
but not the one we obtained ourselves while doing the lookup.

Signed-off-by: Alan Cox <alan@redhat.com>
Tested-by: Helge Hafting <helge.hafting@aitel.hist.no>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-30 12:09:07 -07:00
..
ChangeLog.history
Kconfig USB Serial Sierra: TRU-Install feature update 2008-08-13 17:32:51 -07:00
Makefile USB: delete airprime driver 2008-07-21 15:16:31 -07:00
Makefile-keyspan_pda_fw
aircable.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ark3116.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
belkin_sa.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
belkin_sa.h belkin_sa: clean up code 2008-07-22 13:03:22 -07:00
bus.c usb-serial-bus: tidy coding style 2008-07-22 13:03:22 -07:00
ch341.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
console.c tty: usb-serial krefs 2008-10-13 09:51:41 -07:00
cp2101.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
cyberjack.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
cypress_m8.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
cypress_m8.h cypress_m8: coding style 2008-07-22 13:03:23 -07:00
digi_acceleport.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
empeg.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ezusb.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ezusb_convert.pl
ftdi_sio.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ftdi_sio.h USB: Add Oceanic product ID to ftdi_sio 2008-10-17 14:40:50 -07:00
funsoft.c funsoft: Switch to linux/uaccess 2008-07-22 13:03:23 -07:00
garmin_gps.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
generic.c tty: usb-serial krefs 2008-10-13 09:51:41 -07:00
hp4x.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
io_16654.h
io_edgeport.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
io_edgeport.h
io_ionsp.h
io_tables.h tty-usb-io_edgeport: Coding style 2008-07-22 13:03:27 -07:00
io_ti.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
io_ti.h
io_usbvend.h
ipaq.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ipaq.h
ipw.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
ir-usb.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
iuu_phoenix.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
iuu_phoenix.h USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
keyspan.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
keyspan.h usb_serial: API all change 2008-07-22 13:03:22 -07:00
keyspan_pda.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
kl5kusb105.h
kobil_sct.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
kobil_sct.h
mct_u232.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
mct_u232.h USB: mct232: speed, new termios and compliance cleanups 2008-02-01 14:34:56 -08:00
mos7720.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
mos7840.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
moto_modem.c USB: add new moto_modem driver for some Morotola phones 2008-05-14 10:00:25 -07:00
navman.c tty: usb-serial krefs 2008-10-13 09:51:41 -07:00
omninet.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
option.c USB: support Huawei data card product IDs 2008-10-22 10:05:28 -07:00
oti6858.c tty: usb-serial krefs 2008-10-13 09:51:41 -07:00
oti6858.h
pl2303.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
pl2303.h USB: pl2023: Remove USB id (4348:5523) handled by ch341 2008-08-13 17:32:50 -07:00
safe_serial.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
sierra.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
spcp8x5.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ti_usb_3410_5052.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
ti_usb_3410_5052.h
usb-serial.c tty: Fix USB kref leak 2008-10-30 12:09:07 -07:00
usb_debug.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
visor.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
visor.h
whiteheat.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
whiteheat.h whiteheat: coding style 2008-07-22 13:03:22 -07:00