mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	Following patch will add rcu grace period before fqdir rhashtable destruction, so we need to dynamically allocate fqdir structures to not force expensive synchronize_rcu() calls in netns dismantle path. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			395 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			395 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0 */
 | 
						|
/*
 | 
						|
 * ieee802154 6lowpan in net namespaces
 | 
						|
 */
 | 
						|
 | 
						|
#include <net/inet_frag.h>
 | 
						|
 | 
						|
#ifndef __NETNS_IEEE802154_6LOWPAN_H__
 | 
						|
#define __NETNS_IEEE802154_6LOWPAN_H__
 | 
						|
 | 
						|
struct netns_sysctl_lowpan {
 | 
						|
#ifdef CONFIG_SYSCTL
 | 
						|
	struct ctl_table_header *frags_hdr;
 | 
						|
#endif
 | 
						|
};
 | 
						|
 | 
						|
struct netns_ieee802154_lowpan {
 | 
						|
	struct netns_sysctl_lowpan sysctl;
 | 
						|
	struct fqdir		*fqdir;
 | 
						|
};
 | 
						|
 | 
						|
#endif
 |