From: David Miller Subject: Re: [PATCH] netns: Fix get_net_ns_by_pid Date: Fri, 26 Oct 2007 22:56:23 -0700 (PDT) Message-ID: <20071026.225623.129837501.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, containers@lists.osdl.org, dlunev@gmail.com, benjamin.thery@bull.net, dlezcano@fr.ibm.com To: ebiederm@xmission.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:46826 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751600AbXJ0F4W (ORCPT ); Sat, 27 Oct 2007 01:56:22 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: ebiederm@xmission.com (Eric W. Biederman) Date: Fri, 26 Oct 2007 17:29:41 -0600 > > The pid namespace patches changed the semantics of > find_task_by_pid without breaking the compile resulting > in get_net_ns_by_pid doing the wrong thing. > > So switch to using the intended find_task_by_vpid. > > Combined with Denis' earlier patch to make netlink traffic > fully synchronous the inadvertent race I introduced with > accessing current is actually removed. > > Signed-off-by: Eric W. Biederman Applied, thanks.