diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-09-10 21:06:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 06:19:36 +0200 |
commit | c274f6ef1c6665632767d32e4ab912aad839ce27 (patch) | |
tree | fb916689439d10e29c55abc4e0af24e38ec203ec /drivers/tty/cyclades.c | |
parent | tty: Move and rename send_prio_char() as tty_send_xchar() (diff) | |
download | linux-c274f6ef1c6665632767d32e4ab912aad839ce27.tar.xz linux-c274f6ef1c6665632767d32e4ab912aad839ce27.zip |
tty: Hold termios_rwsem for tcflow(TCIxxx)
While transmitting a START/STOP char for tcflow(TCION/TCIOFF), prevent
a termios change. Otherwise, a garbage in-band flow control char
may be sent, if the termios change overlaps the transmission setup.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/cyclades.c')
0 files changed, 0 insertions, 0 deletions