Patchwork [RFC] Move config NET_NS to from net/Kconfig to init/Kconfig

login
register
mail settings
Submitter Matt Helsley
Date Jan. 24, 2009, 12:07 a.m.
Message ID <1232755651.8282.6.camel@localhost>
Download mbox | patch
Permalink /patch/20134/
State Accepted
Delegated to: David Miller
Headers show

Comments

Matt Helsley - Jan. 24, 2009, 12:07 a.m.
Make NET_NS available underneath the generic Namespaces config option since all of
the other namespace options are there.

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
---
 init/Kconfig |    8 ++++++++
 net/Kconfig  |    8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Serge E. Hallyn - Jan. 26, 2009, 5:58 p.m.
Quoting Matt Helsley (matthltc@us.ibm.com):
> Make NET_NS available underneath the generic Namespaces config option since all of
> the other namespace options are there.
> 
> Signed-off-by: Matt Helsley <matthltc@us.ibm.com>

It would definately be nice to have all the namespace options in
one place.

Acked-by: Serge Hallyn <serue@us.ibm.com>

> ---
>  init/Kconfig |    8 ++++++++
>  net/Kconfig  |    8 --------
>  2 files changed, 8 insertions(+), 8 deletions(-)
> 
> Index: linux-2.6.29-rc1/init/Kconfig
> ===================================================================
> --- linux-2.6.29-rc1.orig/init/Kconfig
> +++ linux-2.6.29-rc1/init/Kconfig
> @@ -541,6 +541,14 @@ config PID_NS
>  	  Unless you want to work with an experimental feature
>  	  say N here.
>  
> +config NET_NS
> +	bool "Network namespace"
> +	default n
> +	depends on NAMESPACES && EXPERIMENTAL && NET
> +	help
> +	  Allow user space to create what appear to be multiple instances
> +	  of the network stack.
> +
>  config BLK_DEV_INITRD
>  	bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
>  	depends on BROKEN || !FRV
> Index: linux-2.6.29-rc1/net/Kconfig
> ===================================================================
> --- linux-2.6.29-rc1.orig/net/Kconfig
> +++ linux-2.6.29-rc1/net/Kconfig
> @@ -24,14 +24,6 @@ if NET
>  
>  menu "Networking options"
>  
> -config NET_NS
> -	bool "Network namespace support"
> -	default n
> -	depends on EXPERIMENTAL && NAMESPACES
> -	help
> -	  Allow user space to create what appear to be multiple instances
> -	  of the network stack.
> -
>  config COMPAT_NET_DEV_OPS
>         def_bool y
>  
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Jan. 26, 2009, 8:26 p.m.
From: "Serge E. Hallyn" <serge@hallyn.com>
Date: Mon, 26 Jan 2009 11:58:45 -0600

> Quoting Matt Helsley (matthltc@us.ibm.com):
> > Make NET_NS available underneath the generic Namespaces config option since all of
> > the other namespace options are there.
> > 
> > Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
> 
> It would definately be nice to have all the namespace options in
> one place.
> 
> Acked-by: Serge Hallyn <serue@us.ibm.com>

Sounds good to me too, applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

Index: linux-2.6.29-rc1/init/Kconfig
===================================================================
--- linux-2.6.29-rc1.orig/init/Kconfig
+++ linux-2.6.29-rc1/init/Kconfig
@@ -541,6 +541,14 @@  config PID_NS
 	  Unless you want to work with an experimental feature
 	  say N here.
 
+config NET_NS
+	bool "Network namespace"
+	default n
+	depends on NAMESPACES && EXPERIMENTAL && NET
+	help
+	  Allow user space to create what appear to be multiple instances
+	  of the network stack.
+
 config BLK_DEV_INITRD
 	bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
 	depends on BROKEN || !FRV
Index: linux-2.6.29-rc1/net/Kconfig
===================================================================
--- linux-2.6.29-rc1.orig/net/Kconfig
+++ linux-2.6.29-rc1/net/Kconfig
@@ -24,14 +24,6 @@  if NET
 
 menu "Networking options"
 
-config NET_NS
-	bool "Network namespace support"
-	default n
-	depends on EXPERIMENTAL && NAMESPACES
-	help
-	  Allow user space to create what appear to be multiple instances
-	  of the network stack.
-
 config COMPAT_NET_DEV_OPS
        def_bool y