diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-01-05 23:08:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:00:40 -0800 |
commit | 2a75de0c1de2dde9ef41aeb45a21048681421b8a (patch) | |
tree | f4af1e1cc93781087088a3f93077df2ff159023b /include/net/netns/ipv4.h | |
parent | 6e32814bc89e7103e2b75b841155faf51f60a8f1 (diff) | |
download | op-kernel-dev-2a75de0c1de2dde9ef41aeb45a21048681421b8a.zip op-kernel-dev-2a75de0c1de2dde9ef41aeb45a21048681421b8a.tar.gz |
[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/ipv4.h')
-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 e06d7cf..61a28ff 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; }; |