[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1y7ce3zpm.fsf@ebiederm.dsl.xmission.com>
Date: Sat, 01 Dec 2007 13:52:05 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Mark Lord <lkml@....ca>
Cc: Stephen Hemminger <shemminger@...ux-foundation.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Greg Kroah-Hartman <gregkh@...e.de>, Greg KH <greg@...ah.com>,
Tejun Heo <htejun@...il.com>,
Linux Containers <containers@...ts.osdl.org>,
netdev@...r.kernel.org, cornelia.huck@...ibm.com,
stern@...land.harvard.edu, kay.sievers@...y.org,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
David Miller <davem@...emloft.net>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: namespace support requires network modules to say "GPL"
Mark Lord <lkml@....ca> writes:
>>> Can we get this resolved before 2.6.24 is released? Going back and forth
>>> on API's is just needless frottage.
>>
>> Sure. We keep the updated dev_get_by_XXXX that takes a network
>> namespace parameter.
> ..
>
> And what should code be passing in when "# CONFIG_NET_NS is not set" ?
Mostly CONFIG_NET_NS is a define to keep us from exposing the feature to
user space not to remove the code impact. People could not stand the
look of the code that would actually allow us to compile everything out.
So all of the struct net * fields remain when !CONFIG_NET_NS.
Including the global variable init_net.
Eric
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists