Commit 24dce080 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

net: Export open_related_ns()

This function will be used to obtain net of tun device.
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d8d211a2
...@@ -184,6 +184,7 @@ int open_related_ns(struct ns_common *ns, ...@@ -184,6 +184,7 @@ int open_related_ns(struct ns_common *ns,
return fd; return fd;
} }
EXPORT_SYMBOL_GPL(open_related_ns);
static long ns_ioctl(struct file *filp, unsigned int ioctl, static long ns_ioctl(struct file *filp, unsigned int ioctl,
unsigned long arg) unsigned long arg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment