summaryrefslogtreecommitdiffstats
path: root/crypto/ablk_helper.c
diff options
context:
space:
mode:
authorPeter Hurley2014-11-05 18:40:05 +0100
committerGreg Kroah-Hartman2014-11-06 23:57:27 +0100
commit3f40f5b2a22110754ce469f5722bade8aeb241e5 (patch)
tree00959efe05c52314e168be06c9cb5f54cbf7547e /crypto/ablk_helper.c
parenttty: Convert tty->closing to int (diff)
downloadkernel-qcow2-linux-3f40f5b2a22110754ce469f5722bade8aeb241e5.tar.gz
kernel-qcow2-linux-3f40f5b2a22110754ce469f5722bade8aeb241e5.tar.xz
kernel-qcow2-linux-3f40f5b2a22110754ce469f5722bade8aeb241e5.zip
tty: Flush tty buffers after hardware shutdown
The line discipline buffer and the tty buffers must be flushed again after hardware shutdown; otherwise, a brief window exists between the ldisc flush in tty_port_close_start() and the subsequent tty_port_shutdown(), during which more data could be received into the tty buffers. A racing open might then be able to receive data from the previous session. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/ablk_helper.c')
0 files changed, 0 insertions, 0 deletions