Re: [PATCH] Revert "tty: Fix pty master poll() after slave closes v2"

From: Peter Hurley
Date: Tue Dec 30 2014 - 07:31:17 EST


On 12/30/2014 07:17 AM, Peter Hurley wrote:
> This reverts commit c4dc304677e8d566572c4738d95c48be150c6606.
> This fix is superseded by commit 52bce7f8d4fc633c9a9d0646eef58ba6ae9a3b73,
> 'pty, n_tty: Simplify input processing on final close'.
>
> The final close now waits for input processing to complete before
> destroying the pty, so poll() does not need to special case this
> condition.

Greg,

As noted in this commit log, commit c4dc304677e8d566572c4738d95c48be150c6606,
'tty: Fix pty master poll() after slave closes v2', is not required
after commit 52bce7f8d4fc633c9a9d0646eef58ba6ae9a3b73,
'pty, n_tty: Simplify input processing on final close'

However, 'tty: Fix pty master poll() after slave closes v2' is appropriate
for stable back to v3.12.

Regards,
Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/