summaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-01-06 08:08:49 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:00:40 +0100
commit2a75de0c1de2dde9ef41aeb45a21048681421b8a (patch)
treef4af1e1cc93781087088a3f93077df2ff159023b /include/net/netns
parent[CONNECTOR]: Cleanup struct cn_callback_entry (diff)
downloadlinux-2a75de0c1de2dde9ef41aeb45a21048681421b8a.tar.xz
linux-2a75de0c1de2dde9ef41aeb45a21048681421b8a.zip
[NETNS]: Should build with CONFIG_SYSCTL=n
Previous NETNS patches broke CONFIG_SYSCTL=n case Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/ipv4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index e06d7cfd6d64..61a28ff9440a 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -8,7 +8,9 @@ struct ctl_table_header;
struct ipv4_devconf;
struct netns_ipv4 {
+#ifdef CONFIG_SYSCTL
struct ctl_table_header *forw_hdr;
+#endif
struct ipv4_devconf *devconf_all;
struct ipv4_devconf *devconf_dflt;
};