[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1263557065.3325.28.camel@localhost>
Date: Fri, 15 Jan 2010 13:04:25 +0100
From: Matthias Urlichs <matthias@...ichs.de>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ldisc switching on a HUPped pty hangs the caller
On Fri, 2010-01-15 at 10:48 +0000, Alan Cox wrote:
> > (The comment, by the way, seems to be wrong. There was no race.)
>
> Really ?
>
Yes -- I didn't mean to imply that there was no possibility of a race,
but that there need not be any race for creating a deadlock situation.
A call to vhangup() is sufficient.
I'll test your fix later today. Rebooting a production gateway in the
middle of the work day isn't a good idea. :-P
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists