From c5c34d4862e18ef07c1276d233507f540fb5a532 Mon Sep 17 00:00:00 2001 From: Paul Fulghum Date: Sat, 12 May 2007 10:36:55 -0700 Subject: [PATCH] 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-format-patch failed