aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/net_namespace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 3173d12d946b..3882db1e263a 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -108,6 +108,8 @@ static inline struct net *copy_net_ns(unsigned long flags, struct net *net_ns)
108 108
109extern struct list_head net_namespace_list; 109extern struct list_head net_namespace_list;
110 110
111extern struct net *get_net_ns_by_pid(pid_t pid);
112
111#ifdef CONFIG_NET_NS 113#ifdef CONFIG_NET_NS
112extern void __put_net(struct net *net); 114extern void __put_net(struct net *net);
113 115