[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071113.032407.155828314.davem@davemloft.net>
Date: Tue, 13 Nov 2007 03:24:07 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: den@...nvz.org
Cc: devel@...nvz.org, containers@...ts.osdl.org,
netdev@...r.kernel.org, clg@...ibm.com, benjamin.thery@...l.net
Subject: Re: [PATCH 1/2] cleanup pernet operation without CONFIG_NET_NS
From: "Denis V. Lunev" <den@...nvz.org>
Date: Wed, 7 Nov 2007 15:00:07 +0300
> If CONFIG_NET_NS is not set, the only namespace is possible.
>
> This patch removes list of pernet_operations and cleanups code a bit.
> This list is not needed if there are no namespaces. We should just call
> ->init method.
>
> Additionally, the ->exit will be called on module unloading only. This
> case is safe - the code is not discarded. For the in/kernel code, ->exit
> should never be called.
>
> Signed-off-by: Denis V. Lunev <den@...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