diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 7ea7c232a2b7..9727b36b3518 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -351,7 +351,8 @@ struct net *get_net_ns_by_fd(int fd) } #else -struct net *copy_net_ns(unsigned long flags, struct net *old_net) +struct net *copy_net_ns(unsigned long flags, + struct user_namespace *user_ns, struct net *old_net) { if (flags & CLONE_NEWNET) return ERR_PTR(-EINVAL);