From: Al Viro Date: Wed, 30 Jul 2008 10:32:52 +0000 (-0400) Subject: [PATCH] ipv4_static_sysctl_init() should be under CONFIG_SYSCTL X-Git-Tag: v2.6.27-rc2~105^2~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1bc6eb4b499ae67ada9a01660010580b6569403;p=linux-2.6 [PATCH] ipv4_static_sysctl_init() should be under CONFIG_SYSCTL Signed-off-by: Al Viro --- diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 380d6474cf..a72a5ad46e 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -3216,6 +3216,7 @@ int __init ip_rt_init(void) return rc; } +#ifdef CONFIG_SYSCTL /* * We really need to sanitize the damn ipv4 init order, then all * this nonsense will go away. @@ -3224,6 +3225,7 @@ void __init ip_static_sysctl_init(void) { register_sysctl_paths(ipv4_route_path, ipv4_route_table); } +#endif EXPORT_SYMBOL(__ip_select_ident); EXPORT_SYMBOL(ip_route_input);