diff options
author | David Emett <dave@sp4m.net> | 2019-03-10 22:43:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-27 17:28:23 +0100 |
commit | cf90c06f8115016fa4a94644a26a4ba093f0055e (patch) | |
tree | f04dd71ce7cc87167823a6333b31220a1805c9df /drivers/tty/ipwireless/main.c | |
parent | drivers/tty/tty_jobctrl.c - fix non-kerneldoc comment (diff) | |
download | linux-cf90c06f8115016fa4a94644a26a4ba093f0055e.tar.xz linux-cf90c06f8115016fa4a94644a26a4ba093f0055e.zip |
tty: fix read of tty->pgrp outside of ctrl_lock
The intention was clearly to use the tty_pgrp local variable rather than
re-read tty->pgrp outside of ctrl_lock, so do that.
This bug was introduced by commit 2812d9e9fd94 ("tty: Combine
SIGTTOU/SIGTTIN handling").
Signed-off-by: David Emett <dave@sp4m.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/ipwireless/main.c')
0 files changed, 0 insertions, 0 deletions