net namespace: build when SYSCTL=n
Subsystems (2)
PATCH 1/1 net namespace: build when SYSCTL=n
From: Randy Dunlap <[email protected]>
When CONFIG_SYSCTL=n, build fails with:
linux-next-20080718/include/net/net_namespace.h:40: error: field 'sysctls' has incomplete type
--- include/net/net_namespace.h | 2 ++ 1 file changed, 2 insertions(+)
include/net/net_namespace.h +2 -0
@@ -37,7 +37,9 @@ struct net {struct proc_dir_entry *proc_net;struct proc_dir_entry *proc_net_stat; +#ifdef CONFIG_SYSCTL struct ctl_table_set sysctls; +#endif struct net_device *loopback_dev;/* The loopback */
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
David Miller
maintainerFrom: Randy Dunlap <[email protected]>
Date: Fri, 18 Jul 2008 17:18:12 -0700
Quoted 7 lines
From: Randy Dunlap <[email protected]>
When
CONFIG_SYSCTL=n, build fails with:
linux-next-20080718/include/net/net_namespace.h:40: error: field 'sysctls' has incomplete typeSigned-off-by Randy Dunlap <[email protected]>
This 'sysctls' member isn't present in my networking tree, it must be coming from some other tree and thus the patch needs to be applied there.
Quoted 7 lines · David Miller
From: Randy Dunlap <[email protected]>
Date: Fri, 18 Jul 2008 17:18:12 -0700Quoted 4 lines
From: Randy Dunlap <[email protected]>
When
CONFIG_SYSCTL=n, build fails with:
Quoted 7 lines
Quoted 3 lines
linux-next-20080718/include/net/net_namespace.h:40: error: field 'sysctls' has incomplete typeSigned-off-by Randy Dunlap <[email protected]>This 'sysctls' member isn't present in my networking tree, it must be coming from some other tree and thus the patch needs to be applied there.
Yup. Applied.