diff options
author | Jiri Slaby | 2007-02-10 10:45:18 +0100 |
---|---|---|
committer | Linus Torvalds | 2007-02-11 19:51:29 +0100 |
commit | f574874bc861414bbae220b1fe623cbdd098243b (patch) | |
tree | f905e9170338a295e897013c9ab01ca189f08dbe /drivers/char/mxser_new.h | |
parent | [PATCH] Doc: isicom, remove reserved ioctl-number (diff) | |
download | kernel-qcow2-linux-f574874bc861414bbae220b1fe623cbdd098243b.tar.gz kernel-qcow2-linux-f574874bc861414bbae220b1fe623cbdd098243b.tar.xz kernel-qcow2-linux-f574874bc861414bbae220b1fe623cbdd098243b.zip |
[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 <osv@javad.com>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/mxser_new.h')
0 files changed, 0 insertions, 0 deletions