diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-01-06 02:08:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:00:40 -0500 |
commit | 2a75de0c1de2dde9ef41aeb45a21048681421b8a (patch) | |
tree | f4af1e1cc93781087088a3f93077df2ff159023b /include | |
parent | 6e32814bc89e7103e2b75b841155faf51f60a8f1 (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')
-rw-r--r-- | include/net/netns/ipv4.h | 2 |
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; | |||
8 | struct ipv4_devconf; | 8 | struct ipv4_devconf; |
9 | 9 | ||
10 | struct netns_ipv4 { | 10 | struct 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 | }; |