[PATCH 1/2] netns 1/2: don't get/put old netns on CLONE_NEWNET

David Miller davem at davemloft.net
Mon May 4 11:11:47 PDT 2009


From: Alexey Dobriyan <adobriyan at gmail.com>
Date: Mon, 4 May 2009 03:28:25 +0400

> copy_net_ns() doesn't copy anything, it creates fresh netns, so get/put of old
> netns isn't needed.
> 
> Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
> Acked-by: Serge Hallyn <serue at us.ibm.com>

Applied to net-next-2.6


More information about the Containers mailing list