commit | c274f6ef1c6665632767d32e4ab912aad839ce27 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Wed Sep 10 15:06:35 2014 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 23 21:19:36 2014 -0700 |
tree | fb916689439d10e29c55abc4e0af24e38ec203ec | |
parent | 136d5258b2bc4ffae99cb69874a76624c26fbfad [diff] |
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>