Skip to content

Commit

Permalink
[NETNS]: Re-export init_net via EXPORT_SYMBOL.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Jan 23, 2008
1 parent a781cf9 commit ff4b950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/net_namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ff4b950

Please sign in to comment.