[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100915.213258.212397416.davem@davemloft.net>
Date: Wed, 15 Sep 2010 21:32:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: remi@...lab.net
Cc: netdev@...r.kernel.org, remi.denis-courmont@...ia.com
Subject: Re: [PATCH net-next-2.6] Phonet: remove dangling pipe if an
endpoint is closed early
From: Rémi Denis-Courmont <remi@...lab.net>
Date: Thu, 16 Sep 2010 01:19:53 +0300
> From: Rémi Denis-Courmont <remi.denis-courmont@...ia.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@...ia.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists