From: Alexey Dobriyan Date: Wed, 8 Oct 2008 09:35:06 +0000 (+0200) Subject: netns: export netns list X-Git-Tag: v2.6.28-rc1~717^2~109^2~56 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b76a461f11eb5f32d37a9c8eae7b2f3b3f261b43;p=linux-2.6-omap-h63xx.git netns: export netns list Conntrack code will use it for a) removing expectations and helpers when corresponding module is removed, and b) removing conntracks when L3 protocol conntrack module is removed. Signed-off-by: Alexey Dobriyan Signed-off-by: Patrick McHardy --- diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 7c52fe277b6..b0dc818a91d 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -18,6 +18,7 @@ static struct list_head *first_device = &pernet_list; static DEFINE_MUTEX(net_mutex); LIST_HEAD(net_namespace_list); +EXPORT_SYMBOL_GPL(net_namespace_list); struct net init_net; EXPORT_SYMBOL(init_net);