netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: remi@remlab.net
Cc: netdev@vger.kernel.org, remi.denis-courmont@nokia.com
Subject: Re: [PATCH net-next-2.6] Phonet: remove dangling pipe if an endpoint is closed early
Date: Wed, 15 Sep 2010 21:32:58 -0700 (PDT)	[thread overview]
Message-ID: <20100915.213258.212397416.davem@davemloft.net> (raw)
In-Reply-To: <1284589193-26089-1-git-send-email-remi@remlab.net>

From: Rémi Denis-Courmont <remi@remlab.net>
Date: Thu, 16 Sep 2010 01:19:53 +0300

> From: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
> 
> Closing a pipe endpoint is not normally allowed by the Phonet pipe,
> other than as a side after-effect of removing the pipe between two
> endpoints. But there is no way to prevent Linux userspace processes
> from being killed or suffering from bugs, so this can still happen.
> We might as well forcefully close Phonet pipe endpoints then.
> 
> The cellular modem supports only a few existing pipes at a time. So we
> really should not leak them. This change instructs the modem to destroy
> the pipe if either of the pipe's endpoint (Linux socket) is closed too
> early.
> 
> Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>

Applied.

  reply	other threads:[~2010-09-16  4:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 22:19 [PATCH net-next-2.6] Phonet: remove dangling pipe if an endpoint is closed early Rémi Denis-Courmont
2010-09-16  4:32 ` David Miller [this message]
2010-09-16  4:35   ` David Miller
2010-09-16  4:41     ` Rémi Denis-Courmont

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=20100915.213258.212397416.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=remi.denis-courmont@nokia.com \
    --cc=remi@remlab.net \
    /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;
as well as URLs for NNTP newsgroup(s).