From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [PATCH 1/12] L2 network namespace (v3): current network namespace operations Date: Thu, 25 Jan 2007 00:58:53 -0700 Message-ID: References: <200701171851.14734.dim@openvz.org> <200701171857.40349.dim@openvz.org> <200701181356.54986.dim@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: containers@lists.osdl.org, alexey@sw.ru, saw@sw.ru, netdev@vger.kernel.org To: Dmitry Mishin Return-path: Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:35660 "EHLO ebiederm.dsl.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965688AbXAYH7c (ORCPT ); Thu, 25 Jan 2007 02:59:32 -0500 In-Reply-To: <200701181356.54986.dim@openvz.org> (Dmitry Mishin's message of "Thu, 18 Jan 2007 13:56:54 +0300") Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Dmitry Mishin writes: > On Wednesday 17 January 2007 23:16, Eric W. Biederman wrote: >> Dmitry Mishin 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