summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-23 07:05:33 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-23 12:11:42 +0100
commitff4b950277b6534caab2b2b956dba6ce29757551 (patch)
tree3f7ae9a76c099d74f77ba132f262f33c3df2e2ec
parentiwlwifi: fix possible read attempt on ucode that is not available (diff)
downloadlinux-ff4b950277b6534caab2b2b956dba6ce29757551.tar.xz
linux-ff4b950277b6534caab2b2b956dba6ce29757551.zip
[NETNS]: Re-export init_net via EXPORT_SYMBOL.
init_net is used added as a parameter to a lot of old API calls, f.e. ip_dev_find. These calls were exported as EXPORT_SYMBOL. So, export init_net as EXPORT_SYMBOL to keep networking API consistent. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/net_namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index 383252b50411..ec936ae92458 100644
--- a/net/core/net_namespace.c
+++ b/net/core/net_namespace.c
@@ -18,7 +18,7 @@ static DEFINE_MUTEX(net_mutex);
LIST_HEAD(net_namespace_list);
struct net init_net;
-EXPORT_SYMBOL_GPL(init_net);
+EXPORT_SYMBOL(init_net);
/*
* setup_net runs the initializers for the network namespace object.