OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] netns: CLONE_NEWNET don't use the same clone flag as the pid namespace.
[PATCH] netns: CLONE_NEWNET don't use the same clone flag as the pid namespace. [message #20919] Thu, 27 September 2007 22:40 Go to next message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
 include/linux/sched.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index e10a0a8..d82c1f7 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -27,7 +27,7 @@
 #define CLONE_NEWUTS		0x04000000	/* New utsname group? */
 #define CLONE_NEWIPC		0x08000000	/* New ipcs */
 #define CLONE_NEWUSER		0x10000000	/* New user namespace */
-#define CLONE_NEWNET		0x20000000	/* New network namespace */
+#define CLONE_NEWNET		0x40000000	/* New network namespace */
 
 /*
  * Scheduling policies
-- 
1.5.3.rc6.17.g1911

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: [PATCH] netns: CLONE_NEWNET don't use the same clone flag as the pid namespace. [message #20923 is a reply to message #20919] Fri, 28 September 2007 00:10 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: ebiederm@xmission.com (Eric W. Biederman)
Date: Thu, 27 Sep 2007 16:40:31 -0600

> 
> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

Applied.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Previous Topic: [PATCH 1/4] net: Dynamically allocate the per cpu counters for the loopback device.
Next Topic: [PATCH -mm] Hook up group scheduler with control groups
Goto Forum:
  


Current Time: Tue Nov 19 11:41:06 GMT 2024

Total time taken to generate the page: 0.03172 seconds