From: Peter Hurley Date: Wed, 10 Sep 2014 19:06:35 +0000 (-0400) Subject: tty: Hold termios_rwsem for tcflow(TCIxxx) X-Git-Tag: fixes-for-v3.18-merge-window~14^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c274f6ef1c6665632767d32e4ab912aad839ce27;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed