#ifdef ->iptable_security, ->ip6table_security
Subsystems (2)
PATCH 1/1 #ifdef ->iptable_security, ->ip6table_security
'security' tables depend on SECURITY, so ifdef them.
Signed-off-by Alexey Dobriyan <[email protected]>
---
include/net/netns/ipv4.h | 2 ++ include/net/netns/ipv6.h | 2 ++ 2 files changed, 4 insertions(+)
include/net/netns/ipv4.h +2 -0
@@ -37,7 +37,9 @@ struct netns_ipv4 {struct xt_table *iptable_mangle;struct xt_table *iptable_raw;struct xt_table *arptable_filter; +#ifdef CONFIG_SECURITY struct xt_table *iptable_security; +#endif struct xt_table *nat_table;struct hlist_head *nat_bysource;int nat_vmalloced;
include/net/netns/ipv6.h +2 -0
@@ -36,8 +36,10 @@ struct netns_ipv6 {struct xt_table *ip6table_filter;struct xt_table *ip6table_mangle;struct xt_table *ip6table_raw; +#ifdef CONFIG_SECURITY struct xt_table *ip6table_security;#endif +#endif struct rt6_info *ip6_null_entry;struct rt6_statistics *rt6_stats;struct timer_list ip6_fib_timer;
Patrick McHardy
AppliedQuoted 1 line · Alexey Dobriyan
'security' tables depend on SECURITY, so ifdef them.
Applied, thanks.