aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-23 01:05:33 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-23 06:11:42 -0500
commitff4b950277b6534caab2b2b956dba6ce29757551 (patch)
tree3f7ae9a76c099d74f77ba132f262f33c3df2e2ec /net/core
parenta781cf94e6dcc09bf13e548298185d916d9ff3c8 (diff)
[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>
Diffstat (limited to 'net/core')
-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);
18LIST_HEAD(net_namespace_list); 18LIST_HEAD(net_namespace_list);
19 19
20struct net init_net; 20struct net init_net;
21EXPORT_SYMBOL_GPL(init_net); 21EXPORT_SYMBOL(init_net);
22 22
23/* 23/*
24 * setup_net runs the initializers for the network namespace object. 24 * setup_net runs the initializers for the network namespace object.