diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-02-11 16:34:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 10:02:19 -0800 |
commit | e2613be5093d04e6589924d36a1e363eef3c87c7 (patch) | |
tree | fd31a291d7f076ba1776cb490ae0baa75f54c712 /drivers/scsi/mvme16x_scsi.c | |
parent | fb78b811422cd2d8c8605949cc4cc13618347ad5 (diff) | |
download | op-kernel-dev-e2613be5093d04e6589924d36a1e363eef3c87c7.zip op-kernel-dev-e2613be5093d04e6589924d36a1e363eef3c87c7.tar.gz |
n_tty: Fix stale echo output
When echoes cannot be flushed to output (usually because the tty
has no more write room) and L_ECHO is subsequently turned off, then
when L_ECHO is turned back on, stale echoes are output.
Output completed echoes regardless of the L_ECHO setting:
1. before normal writes to that tty
2. if the tty was stopped by soft flow control and is being
restarted
Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: <stable@vger.kernel.org> # 3.13.x
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/mvme16x_scsi.c')
0 files changed, 0 insertions, 0 deletions