diff options
Diffstat (limited to 'include/net/net_namespace.h')
| -rw-r--r-- | include/net/net_namespace.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index fe80bb48ab1f..a24a57593202 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -158,6 +158,7 @@ extern struct net init_net;  struct net *copy_net_ns(unsigned long flags, struct user_namespace *user_ns,  			struct net *old_net); +void net_ns_barrier(void);  #else /* CONFIG_NET_NS */  #include <linux/sched.h>  #include <linux/nsproxy.h> @@ -168,6 +169,8 @@ static inline struct net *copy_net_ns(unsigned long flags,  		return ERR_PTR(-EINVAL);  	return old_net;  } + +static inline void net_ns_barrier(void) {}  #endif /* CONFIG_NET_NS */ | 
