linux-stable-rt/drivers/serial
Linus Torvalds eea7e17e0e tty, serial: Fix race and NULL check in uart_close()
Commit 46d57a449a ("serial: use tty_port pointers in the core code")
contained two bugs that causes (rare) crashes:

 - the rename typoed one site

 - a NULL check was missed

Reported-and-tested-by: Ingo Molnar <mingo@elte.hu>
Cc: Greg KH <gregkh@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-10-12 10:21:33 -07:00
..
cpm_uart Fix build of cpm_uart due to core changes 2009-09-24 17:01:22 +10:00
jsm
8250.c serial: add parameter to force skipping the test for the TXEN bug 2009-10-01 16:11:16 -07:00
8250.h
8250_accent.c
8250_acorn.c
8250_boca.c
8250_early.c
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c
8250_pnp.c
21285.c
68328serial.c
68328serial.h
68360serial.c
Kconfig uartlite: allow building for timberdale MFD 2009-10-01 16:11:12 -07:00
Makefile MIPS: BCM63xx: Add serial driver for bcm63xx integrated UART. 2009-09-30 21:46:59 +02:00
amba-pl010.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
amba-pl011.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
atmel_serial.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
bcm63xx_uart.c MIPS: BCM63xx: Add serial driver for bcm63xx integrated UART. 2009-09-30 21:46:59 +02:00
bfin_5xx.c
bfin_sport_uart.c
bfin_sport_uart.h
clps711x.c
crisv10.c
crisv10.h
dz.c
dz.h
icom.c icom: convert space to tabs 2009-10-01 16:11:15 -07:00
icom.h
imx.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
ioc3_serial.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
ioc4_serial.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
ip22zilog.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
ip22zilog.h
kgdboc.c
m32r_sio.c
m32r_sio.h
m32r_sio_reg.h
max3100.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
mcf.c
mpc52xx_uart.c
mpsc.c
msm_serial.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
msm_serial.h
mux.c
netx-serial.c
nwpserial.c
of_serial.c
pmac_zilog.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
pmac_zilog.h
pnx8xxx_uart.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
pxa.c Merge branch 'origin' into for-linus 2009-09-24 21:22:33 +01:00
s3c24a0.c
s3c2400.c
s3c2410.c
s3c2412.c
s3c2440.c
s3c6400.c
sa1100.c ARM: Fix SA1100 Neponset serial section mismatch 2009-09-28 18:06:16 +01:00
samsung.c
samsung.h
sb1250-duart.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
sc26xx.c
serial_core.c tty, serial: Fix race and NULL check in uart_close() 2009-10-12 10:21:33 -07:00
serial_cs.c pcnet_cs: add cis of National Semicondoctor's multifunction pcmcia card 2009-10-05 00:40:03 -07:00
serial_ks8695.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
serial_lh7a40x.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
serial_txx9.c serial_txx9: use container_of() instead of direct cast 2009-10-01 16:11:15 -07:00
sh-sci.c
sh-sci.h
sn_console.c
suncore.c
suncore.h
sunhv.c
sunsab.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
sunsab.h
sunsu.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
sunzilog.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
sunzilog.h
timbuart.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
timbuart.h
uartlite.c uartlite: support shared interrupt lines 2009-09-19 13:13:38 -07:00
ucc_uart.c
vr41xx_siu.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
zs.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
zs.h