[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071101.004616.109553457.davem@davemloft.net>
Date: Thu, 01 Nov 2007 00:46:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, ebiederm@...ssion.com, devel@...nvz.org
Subject: Re: [PATCH 4/5] Mark the setup_net as __net_init
From: Pavel Emelyanov <xemul@...nvz.org>
Date: Wed, 31 Oct 2007 22:31:46 +0300
> The setup_net is called for the init net namespace
> only (int the CONFIG_NET_NS=n of course) from the __init
> function, so mark it as __net_init to disappear with the
> caller after the boot.
>
> Yet again, in the perfect world this has to be under
> #ifdef CONFIG_NET_NS, but it isn't guaranteed that every
> subsystem is registered *after* the init_net_ns is set
> up. After we are sure, that we don't start registering
> them before the init net setup, we'll be able to move
> this code under the ifdef.
>
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>
Applied.
-
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