diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-02-10 01:45:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:29 -0800 |
commit | f574874bc861414bbae220b1fe623cbdd098243b (patch) | |
tree | f905e9170338a295e897013c9ab01ca189f08dbe /drivers/ide/pci/sc1200.c | |
parent | 765d94c1b37d08be02eea6abbff70c0fda0ba984 (diff) |
[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/ide/pci/sc1200.c')
0 files changed, 0 insertions, 0 deletions