]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tty: Reset itty for other pty
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:01:00 +0000 (09:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jul 2013 18:42:26 +0000 (11:42 -0700)
commite0896b461ff2761c7a36d223f33d4f6d52c7340f
treea95019535449a07a0fd0a6dc01fc352bd367a7d6
parentab1842f10b18f847893dad5bfe513f1392cbe797
tty: Reset itty for other pty

commit 64e377dcd7d75c241d614458e9619d3445de44ef upstream.

Commit 19ffd68f816878aed456d5e87697f43bd9e3bd2b
('pty: Remove redundant itty reset') introduced a regression
whereby the other pty's linkage is not cleared on teardown.
This triggers a false positive diagnostic in testing.

Properly reset the itty linkage.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c