diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-11-11 08:03:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-09 14:03:27 -0500 |
commit | ff4fcbdf43bc4ae760ef1e7782e233156ed90a75 (patch) | |
tree | 0f1ea82bf4026196484f9bc30a7bd072800c0368 /ipc | |
parent | 8d0fe5721d2725e58429a9b54149a20f9f590451 (diff) |
tty: Fix tty_send_xchar() lock order inversion
commit ee0c1a65cf95230d5eb3d9de94fd2ead9a428c67 upstream.
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>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions