Commit b1d679af authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

tty: drop the pty lock during hangup

In theory we don't need it, in practice we are hitting some ill understood
deadlock when we don't drop it. The old code dropped it here so we are not
undoing anything problematic for pty. If pty could be unloaded it would be
a problem but it can't.
Signed-off-by: default avatarAlan Cox <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent fd11b42e
......@@ -63,7 +63,9 @@ static void pty_close(struct tty_struct *tty, struct file *filp)
Markdown is supported
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