summaryrefslogtreecommitdiff
path: root/drivers/tty/n_gsm.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-11-11 13:03:54 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-11-21 00:19:54 (GMT)
commitee0c1a65cf95230d5eb3d9de94fd2ead9a428c67 (patch)
tree2e2a14ae56458b5af323266ede1c4908be225f83 /drivers/tty/n_gsm.c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-ee0c1a65cf95230d5eb3d9de94fd2ead9a428c67.tar.xz
tty: Fix tty_send_xchar() lock order inversion
The correct lock order is atomic_write_lock => termios_rwsem, as established by tty_write() => n_tty_write(). Fixes: c274f6ef1c666 ("tty: Hold termios_rwsem for tcflow(TCIxxx)") Reported-and-Tested-by: Dmitry Vyukov <dvyukov@google.com> Cc: <stable@vger.kernel.org> # v3.18+ Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_gsm.c')
0 files changed, 0 insertions, 0 deletions