From: Paul Fulghum Date: Sat, 12 May 2007 17:36:55 +0000 (-0700) Subject: tty: flush flip buffer on ldisc input queue flush X-Git-Tag: v2.6.22-rc1~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5c34d4862e18ef07c1276d233507f540fb5a532;p=pandora-kernel.git 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 Cc: Antonino Ingargiola Signed-off-by: Paul Fulghum Cc: Theodore Ts'o Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed