提交 a1bc6eb4 编写于 作者: A Al Viro

[PATCH] ipv4_static_sysctl_init() should be under CONFIG_SYSCTL

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 f418b006
...@@ -3216,6 +3216,7 @@ int __init ip_rt_init(void) ...@@ -3216,6 +3216,7 @@ int __init ip_rt_init(void)
return rc; return rc;
} }
#ifdef CONFIG_SYSCTL
/* /*
* We really need to sanitize the damn ipv4 init order, then all * We really need to sanitize the damn ipv4 init order, then all
* this nonsense will go away. * this nonsense will go away.
...@@ -3224,6 +3225,7 @@ void __init ip_static_sysctl_init(void) ...@@ -3224,6 +3225,7 @@ void __init ip_static_sysctl_init(void)
{ {
register_sysctl_paths(ipv4_route_path, ipv4_route_table); register_sysctl_paths(ipv4_route_path, ipv4_route_table);
} }
#endif
EXPORT_SYMBOL(__ip_select_ident); EXPORT_SYMBOL(__ip_select_ident);
EXPORT_SYMBOL(ip_route_input); EXPORT_SYMBOL(ip_route_input);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册