Skip to content
Commit cf90c06f authored by David Emett's avatar David Emett Committed by Greg Kroah-Hartman
Browse files

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 2812d9e9

 ("tty: Combine
SIGTTOU/SIGTTIN handling").

Signed-off-by: default avatarDavid Emett <dave@sp4m.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3adf2aa8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment