Re: [PATCH] Revert "tty: Fix pty master poll() after slave closes v2"
From: Peter Hurley
Date: Fri Jan 09 2015 - 17:01:07 EST
On 01/09/2015 04:41 PM, Greg Kroah-Hartman wrote:
> On Tue, Dec 30, 2014 at 07:31:06AM -0500, Peter Hurley wrote:
>> 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.
>
> I don't understand, what needs to go to a stable tree and what doesn't?
Commit c4dc304677e8d5665 ("tty: Fix pty master poll() after slave closes v2")
goes to stable v3.12~v3.18, but not 3.19-rc1+
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/