net: Export open_related_ns()

This function will be used to obtain net of tun device.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Kirill Tkhai 2018-02-14 16:40:05 +03:00 committed by David S. Miller
parent d8d211a2a0
commit 24dce0800b
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ int open_related_ns(struct ns_common *ns,
return fd;
}
EXPORT_SYMBOL_GPL(open_related_ns);
static long ns_ioctl(struct file *filp, unsigned int ioctl,
unsigned long arg)