Jiri Slaby 7fa57a0cd9 Char: cyclades, fix potential NULL dereference
ztxdone is jumped to even if tty is NULL and tty_wakeup placed after
this label doesn't expect NULLed parameter, so this will cause an oops
in some situations (why they scheduled a wakeup there before remove
bottom half processing patch?).

wakeup only in the case when we have non-null tty struct.

Spotted by Adrian Bunk.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-23 08:32:06 -07:00
..
2007-10-18 14:37:32 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
2007-05-08 11:15:09 -07:00
2007-10-19 23:21:04 +02:00
2007-05-21 09:18:19 -07:00
2007-10-17 08:43:00 -07:00
2007-10-19 23:21:04 +02:00
2007-02-20 17:11:55 +00:00
2007-10-17 08:43:01 -07:00
2007-07-19 10:04:43 -07:00
2007-10-17 08:42:45 -07:00
2007-07-29 17:09:29 -07:00
2007-10-18 14:37:27 -07:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-17 08:42:55 -07:00
2007-07-21 17:49:16 -07:00
2007-10-18 14:37:23 -07:00
2007-10-18 14:37:31 -07:00
2007-07-17 10:23:10 -07:00
2007-07-16 09:05:46 -07:00
2007-10-19 11:53:43 -07:00
2007-07-16 09:05:47 -07:00
2007-10-17 08:42:56 -07:00
2007-10-19 11:53:34 -07:00