OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/6] A config option to compile out some namespaces code (v4)
[PATCH 6/6] Mark NET_NS with "depends on NAMESPACES" [message #23217 is a reply to message #23212] Wed, 14 November 2007 11:41 Go to previous messageGo to previous message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
There's already an option controlling the net namespaces
cloning code, so make it work the same way as all the
other namespaces' options.

Should I wait till the option itself gets to mainline and
resend this patch to David?

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

---

diff --git a/net/Kconfig b/net/Kconfig
index ab4e6da..d61a025 100644
--- a/net/Kconfig
+++ b/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 && NAMESPACES
 	help
 	  Allow user space to create what appear to be multiple instances
 	  of the network stack.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC][ for -mm] memory controller enhancements for NUMA [1/10] record nid/zid on page_cgroup
Next Topic: netns compilation
Goto Forum:
  


Current Time: Thu Oct 09 23:24:53 GMT 2025

Total time taken to generate the page: 0.08752 seconds