[patch 02/38][IPV6] Makefile - Activate netns configuration when sysctl is off

Daniel Lezcano dlezcano at fr.ibm.com
Mon Dec 3 08:16:38 PST 2007


Sysctl per namespace is not yet finished, like sysfs. In order
to avoid problems related with that, I disable netns if sysctl
is compiled in the kernel.

Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery at bull.net>
---
 net/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-netns/net/Kconfig
===================================================================
--- linux-2.6-netns.orig/net/Kconfig
+++ linux-2.6-netns/net/Kconfig
@@ -30,7 +30,7 @@ menu "Networking options"
 config NET_NS
 	bool "Network namespace support"
 	default n
-	depends on EXPERIMENTAL && !SYSFS
+	depends on EXPERIMENTAL && !SYSFS && !SYSCTL
 	help
 	  Allow user space to create what appear to be multiple instances
 	  of the network stack.

-- 


More information about the Containers mailing list