aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-01-06 02:08:49 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:00:40 -0500
commit2a75de0c1de2dde9ef41aeb45a21048681421b8a (patch)
treef4af1e1cc93781087088a3f93077df2ff159023b /include/net/netns
parent6e32814bc89e7103e2b75b841155faf51f60a8f1 (diff)
[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;
8struct ipv4_devconf; 8struct ipv4_devconf;
9 9
10struct netns_ipv4 { 10struct netns_ipv4 {
11#ifdef CONFIG_SYSCTL
11 struct ctl_table_header *forw_hdr; 12 struct ctl_table_header *forw_hdr;
13#endif
12 struct ipv4_devconf *devconf_all; 14 struct ipv4_devconf *devconf_all;
13 struct ipv4_devconf *devconf_dflt; 15 struct ipv4_devconf *devconf_dflt;
14}; 16};