浏览代码

namespaces: mark NET_NS with "depends on NAMESPACES"

There's already an option controlling the net namespaces cloning code, so make
it work the same way as all the other namespaces' options.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: "David S. Miller" <davem@davemloft.net>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Kirill Korotaev <dev@sw.ru>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Pavel Emelyanov 17 年之前
父节点
当前提交
cbdc738732
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/Kconfig

+ 1 - 1
net/Kconfig

@@ -30,7 +30,7 @@ menu "Networking options"
 config NET_NS
 config NET_NS
 	bool "Network namespace support"
 	bool "Network namespace support"
 	default n
 	default n
-	depends on EXPERIMENTAL && !SYSFS
+	depends on EXPERIMENTAL && !SYSFS && NAMESPACES
 	help
 	help
 	  Allow user space to create what appear to be multiple instances
 	  Allow user space to create what appear to be multiple instances
 	  of the network stack.
 	  of the network stack.