[NETNS]: Re-export init_net via EXPORT_SYMBOL.
authorDenis V. Lunev <den@openvz.org>
Wed, 23 Jan 2008 06:05:33 +0000 (22:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2008 11:11:42 +0000 (03:11 -0800)
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>
net/core/net_namespace.c

index 383252b50411b89c5c18835bcbe4c9837ed16ad0..ec936ae92458fb6325b33495b09216bb5fc09831 100644 (file)
@@ -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.