[PATCH] tty buffering stall fix
authorPaul Fulghum <paulkf@microgate.com>
Fri, 10 Feb 2006 09:51:14 +0000 (01:51 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Feb 2006 16:13:12 +0000 (08:13 -0800)
commit8977d929e49021d9a6e031310aab01fa72f849c2
tree13697e607b1153666139114242964f9982acc328
parentf0188f47482efdbd2e005103bb4f0224a835dfad
[PATCH] tty buffering stall fix

Prevent stalled processing of received data when a driver allocates tty
buffer space but does not immediately follow the allocation with more data
and a call to schedule receive tty processing.  (example: hvc_console) This
bug was introduced by the first locking patch for the new tty buffering.

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tty_io.c
include/linux/kbd_kern.h
include/linux/tty.h
include/linux/tty_flip.h