|
@@ -990,10 +990,11 @@ static long sock_do_ioctl(struct net *net, struct socket *sock,
|
|
|
* what to do with it - that's up to the protocol still.
|
|
|
*/
|
|
|
|
|
|
-static struct ns_common *get_net_ns(struct ns_common *ns)
|
|
|
+struct ns_common *get_net_ns(struct ns_common *ns)
|
|
|
{
|
|
|
return &get_net(container_of(ns, struct net, ns))->ns;
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(get_net_ns);
|
|
|
|
|
|
static long sock_ioctl(struct file *file, unsigned cmd, unsigned long arg)
|
|
|
{
|