[Devel] [patch -mm 16/17] net namespace: add unshare

Dmitry Mishin dim at openvz.org
Tue Dec 5 02:56:40 PST 2006


On Tuesday 05 December 2006 13:53, Daniel Lezcano wrote:
> Dmitry Mishin wrote:
> > Cedric,
> >
> > On Tuesday 05 December 2006 13:28, clg at fr.ibm.com wrote:
> > [skip]
> >
> >> +static inline int unshare_net_ns(unsigned long unshare_flags,
> >> +				 struct net_namespace **new_net)
> >> +{
> >> +	if (unshare_flags & NS_NET)
> >
> > Where is it defined?
>
> This function is for !CONFIG_NET_NS
>
> unshare_net_ns is defined in net_namespace.c
Sorry for unclear question. Where is defined NS_NET? It should be CLONE_NEWNET 
instead, shouldn't it?

>
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://openvz.org/mailman/listinfo/devel

-- 
Thanks,
Dmitry.




More information about the Devel mailing list