Browse Source

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 years ago
parent
commit
cbdc738732
1 changed files with 1 additions and 1 deletions
  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.