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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux