From: Denis V. Lunev Date: Wed, 23 Jan 2008 06:05:33 +0000 (-0800) Subject: [NETNS]: Re-export init_net via EXPORT_SYMBOL. X-Git-Tag: v2.6.24~10^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ff4b950277b6534caab2b2b956dba6ce29757551;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 383252b5041..ec936ae9245 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.