[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FF94BC6.3000704@liveu.tv>
Date: Sun, 08 Jul 2012 11:58:46 +0300
From: Shachar Shemesh <shachar@...eu.tv>
To: Greg KH <greg@...ah.com>
CC: LKML <linux-kernel@...r.kernel.org>
Subject: Re: Subject: [PATCH] tty ldisc: Close/Reopen race prevention should
check the proper flag
On 07/07/2012 12:24 AM, Greg KH wrote:
> On Sun, Jul 01, 2012 at 09:53:19AM +0300, Shachar Shemesh wrote:
>> From: Shachar Shemesh <shachar@...eu.tv>
>>
>> Commit acfa747b introduced the TTY_HUPPING flag to distinguish
>> closed TTY from currently closing ones. The test in tty_set_ldisc
>> still remained pointing at the old flag. This causes pppd to
>> sometimes lapse into uninterruptible sleep when killed and
>> restarted.
>>
>> Signed-off-by: Shachar Shemesh <shachar@...eu.tv>
>> ---
>> Tested with 3.2.20 kernel.
>>
> All tabs are converted to spaces and make this patch impossible to apply
> :(
>
> Care to try again?
I'm sorry, I'm sending this as an attachment. I've verified that my
mailer sends this as plain text, so it should be okay.
Shachar
View attachment "pppduinterruptible.patch" of type "text/x-diff" (496 bytes)
Powered by blists - more mailing lists