[PATCH 1/12] L2 network namespace (v3): current network namespace operations

Eric W. Biederman ebiederm at xmission.com
Wed Jan 24 23:58:53 PST 2007


Dmitry Mishin <dim at openvz.org> writes:

> On Wednesday 17 January 2007 23:16, Eric W. Biederman wrote:
>> Dmitry Mishin <dim at openvz.org> writes:
>> 
>> > Added functions and macros required to operate with network namespaces.
>> > They are required in order to switch network namespace for incoming packets
> and
>> > to not extend current network interface by additional network namespace
> argue.
>> 
>> Is exec_net only used in interrupt context?
> I tried to do so.
>
>> Or how do you ensure a sleeping function does not get called and the
>> kernel process comes back on another cpu?
> Seems that I forgot to remove it's usage at least in one place - in
> clone_net_ns(). If you caught more, please, let me know. 

Hmm.  veth seems to be using it around unregister_netdevice.

Eric



More information about the Containers mailing list