[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080718171812.8dfc9767.randy.dunlap@oracle.com>
Date: Fri, 18 Jul 2008 17:18:12 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net
Subject: [PATCH -next] net namespace: build when SYSCTL=n
From: Randy Dunlap <randy.dunlap@...cle.com>
When CONFIG_SYSCTL=n, build fails with:
linux-next-20080718/include/net/net_namespace.h:40: error: field 'sysctls' has incomplete type
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
include/net/net_namespace.h | 2 ++
1 file changed, 2 insertions(+)
--- linux-next-20080718.orig/include/net/net_namespace.h
+++ linux-next-20080718/include/net/net_namespace.h
@@ -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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists