mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
[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>
This commit is contained in:
parent
a781cf94e6
commit
ff4b950277
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user