From: Peter Hurley Date: Sat, 15 Jun 2013 13:14:24 +0000 (-0400) Subject: n_tty: Access termios values safely X-Git-Tag: v3.12-rc1~182^2~210 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9356b535fcb71db494fc434acceb79f56d15bda2;p=pandora-kernel.git n_tty: Access termios values safely Use termios_rwsem to guarantee safe access to the termios values. This is particularly important for N_TTY as changing certain termios settings alters the mode of operation. termios_rwsem must be dropped across throttle/unthrottle since those functions claim the termios_rwsem exclusively (to guarantee safe access to the termios and for mutual exclusion). Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed