public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthias Urlichs <matthias@urlichs.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ldisc switching on a HUPped pty hangs the caller
Date: Fri, 15 Jan 2010 13:04:25 +0100	[thread overview]
Message-ID: <1263557065.3325.28.camel@localhost> (raw)
In-Reply-To: <20100115104834.4765b584@lxorguk.ukuu.org.uk>

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


  reply	other threads:[~2010-01-15 12:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-15  5:07 [PATCH] ldisc switching on a HUPped pty hangs the caller Matthias Urlichs
2010-01-15 10:48 ` Alan Cox
2010-01-15 12:04   ` Matthias Urlichs [this message]
2010-01-15 11:16 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1263557065.3325.28.camel@localhost \
    --to=matthias@urlichs.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox