[PATCH] netns: Fix get_net_ns_by_pid
David Miller
davem at davemloft.net
Fri Oct 26 22:56:23 PDT 2007
From: ebiederm at 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 <ebiederm at xmission.com>
Applied, thanks.
More information about the Containers
mailing list