]> git.baikalelectronics.ru Git - kernel.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>
Mon, 17 Jun 2013 19:59:35 +0000 (12:59 -0700)
commit75dc62b27820e910b4c6c93420ef8b4e1807b881
treee2a007a7920c5079d4e5ffbc4705fe23e08397dc
parent10ade961aae8836ca5aed6e567109b8079eefa4d
tty: Reset itty for other pty

Commit b8a911b254d1cb1e7b882d5a5dc53cb4adf1db54
('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>
Cc: stable <stable@vger.kernel.org> # 3.10
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c