Re: [PATCH] ldisc switching on a HUPped pty hangs the caller

From: Matthias Urlichs
Date: Fri Jan 15 2010 - 07:04:53 EST

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@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at