OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] netns: Fix get_net_ns_by_pid
Re: [PATCH] netns: Fix get_net_ns_by_pid [message #22407 is a reply to message #22396] Sat, 27 October 2007 05:56 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
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 <ebiederm@xmission.com>

Applied, thanks.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: Q: How complete is the pid namespace in mainline
Next Topic: [NETNS] Oops in register_pernet_operations() with CONFIG_NET_NS=n
Goto Forum:
  


Current Time: Thu Oct 16 03:22:48 GMT 2025

Total time taken to generate the page: 0.42546 seconds