OpenVZ Forum


Home » Mailing lists » Devel » Re: [patch -mm 16/17] net namespace: add unshare
Re: [patch -mm 16/17] net namespace: add unshare [message #8746 is a reply to message #8745] Tue, 05 December 2006 10:56 Go to previous messageGo to previous message
Mishin Dmitry is currently offline  Mishin Dmitry
Messages: 112
Registered: February 2006
Senior Member
On Tuesday 05 December 2006 13:53, Daniel Lezcano wrote:
> Dmitry Mishin wrote:
> > Cedric,
> >
> > On Tuesday 05 December 2006 13:28, clg@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?

>
--
Thanks,
Dmitry.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Network virtualization/isolation
Next Topic: Re: [Patch 1/3] Miscellaneous container fixes
Goto Forum:
  


Current Time: Sun Jul 20 09:24:13 GMT 2025

Total time taken to generate the page: 0.12763 seconds