diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-23 01:05:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-23 06:11:42 -0500 |
commit | ff4b950277b6534caab2b2b956dba6ce29757551 (patch) | |
tree | 3f7ae9a76c099d74f77ba132f262f33c3df2e2ec /net/core | |
parent | a781cf94e6dcc09bf13e548298185d916d9ff3c8 (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.c | 2 |
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); | |||
18 | LIST_HEAD(net_namespace_list); | 18 | LIST_HEAD(net_namespace_list); |
19 | 19 | ||
20 | struct net init_net; | 20 | struct net init_net; |
21 | EXPORT_SYMBOL_GPL(init_net); | 21 | EXPORT_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. |