diff options
author | Paul Fulghum <paulkf@microgate.com> | 2007-05-12 13:36:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-12 13:55:39 -0400 |
commit | c5c34d4862e18ef07c1276d233507f540fb5a532 (patch) | |
tree | a0645f236a8bd2492476d1e24fbf94d5cd7edc30 /drivers/char/hvc_console.h | |
parent | e3bf460f3eb86cdbc76725a0dac1f191e796676c (diff) |
tty: flush flip buffer on ldisc input queue flush
Flush the tty flip buffer when the line discipline input queue is flushed,
including the user call tcflush(TCIFLUSH/TCIOFLUSH). This prevents
unexpected stale data after a user application calls tcflush().
Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Antonino Ingargiola <tritemio@gmail.com>
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/hvc_console.h')
0 files changed, 0 insertions, 0 deletions