netfilter: netns: #ifdef ->iptable_security, ->ip6table_security
'security' tables depend on SECURITY, so ifdef them. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
		
					parent
					
						
							
								83fc81024b
							
						
					
				
			
			
				commit
				
					
						e9d3897cc2
					
				
			
		
					 2 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -37,7 +37,9 @@ struct netns_ipv4 {
 | 
				
			||||||
	struct xt_table		*iptable_mangle;
 | 
						struct xt_table		*iptable_mangle;
 | 
				
			||||||
	struct xt_table		*iptable_raw;
 | 
						struct xt_table		*iptable_raw;
 | 
				
			||||||
	struct xt_table		*arptable_filter;
 | 
						struct xt_table		*arptable_filter;
 | 
				
			||||||
 | 
					#ifdef CONFIG_SECURITY
 | 
				
			||||||
	struct xt_table		*iptable_security;
 | 
						struct xt_table		*iptable_security;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
	struct xt_table		*nat_table;
 | 
						struct xt_table		*nat_table;
 | 
				
			||||||
	struct hlist_head	*nat_bysource;
 | 
						struct hlist_head	*nat_bysource;
 | 
				
			||||||
	int			nat_vmalloced;
 | 
						int			nat_vmalloced;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -36,7 +36,9 @@ struct netns_ipv6 {
 | 
				
			||||||
	struct xt_table		*ip6table_filter;
 | 
						struct xt_table		*ip6table_filter;
 | 
				
			||||||
	struct xt_table		*ip6table_mangle;
 | 
						struct xt_table		*ip6table_mangle;
 | 
				
			||||||
	struct xt_table		*ip6table_raw;
 | 
						struct xt_table		*ip6table_raw;
 | 
				
			||||||
 | 
					#ifdef CONFIG_SECURITY
 | 
				
			||||||
	struct xt_table		*ip6table_security;
 | 
						struct xt_table		*ip6table_security;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
	struct rt6_info         *ip6_null_entry;
 | 
						struct rt6_info         *ip6_null_entry;
 | 
				
			||||||
	struct rt6_statistics   *rt6_stats;
 | 
						struct rt6_statistics   *rt6_stats;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue