summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-08 11:35:06 +0200
committerPatrick McHardy <kaber@trash.net>2008-10-08 11:35:06 +0200
commitb76a461f11eb5f32d37a9c8eae7b2f3b3f261b43 (patch)
tree9d250e61dcf424e33f92a6b3e60c95894d9ec56c /net
parent5e6b29972b7e9c9c39882227e36fe0cd3463fe96 (diff)
downloadlinux-3.10-b76a461f11eb5f32d37a9c8eae7b2f3b3f261b43.tar.gz
linux-3.10-b76a461f11eb5f32d37a9c8eae7b2f3b3f261b43.tar.bz2
linux-3.10-b76a461f11eb5f32d37a9c8eae7b2f3b3f261b43.zip
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 <adobriyan@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/net_namespace.c1
1 files changed, 1 insertions, 0 deletions
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);