Linus Torvalds eea7e17e0e tty, serial: Fix race and NULL check in uart_close()
Commit 46d57a449aa1 ("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
..
2009-09-19 13:13:28 -07:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2009-04-06 14:36:26 -07:00
2009-09-19 13:13:19 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-08-31 18:38:16 +02:00
2009-09-19 13:13:28 -07:00
2009-10-01 16:11:15 -07:00
2008-02-03 14:47:38 +02:00
2008-04-30 08:29:47 -07:00
2009-09-19 13:13:28 -07:00
2009-09-23 07:39:43 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-24 21:22:33 +01:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2009-09-19 13:13:28 -07:00
2007-07-18 08:38:22 -07:00