From: Jiri Slaby Date: Sat, 10 Feb 2007 09:45:18 +0000 (-0800) Subject: [PATCH] Char: mxser_new, alter locking in isr X-Git-Tag: v2.6.21-rc1~274^2~336 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f574874bc861414bbae220b1fe623cbdd098243b;p=pandora-kernel.git [PATCH] Char: mxser_new, alter locking in isr Avoid oopsing when stress-testing open/close -- port->tty is NULL sometimes, but is expected to be non-NULL, since dereferencing. Receive/transmit chars iff ASYNC_CLOSING is not set and ASYNC_INITIALIZED is set. Thanks Sergei for pointing this out and testing. Cc: Sergei Organov Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed