Comment 1 for bug 1709126

Kamal Mostafa (kamalmostafa) wrote :

Mainline commit 892d1fa "tty: Destroy ldisc instance on hangup" (circa v4.6) appears to fix this issue, per positive test feedback in LP: #1707089. Additional prerequisite patches are required:

892d1fa tty: Destroy ldisc instance on hangup
7896f30 tty: Refactor tty_ldisc_reinit() for reuse
c12da96 tty: Use 'disc' for line discipline index name
6ffeb4b tty: Move tty_ldisc_kill()
a570a49 tty: Handle NULL tty->ldisc
ece5340 tty: Reset c_line from driver's init_termios
63d8cb3 tty: Simplify tty_set_ldisc() exit handling