X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Froute.c;h=1bfa078ddbd0c357d97c269179b713c09b0a0ad3;hb=8bad4afe1257585967a1b38cd3f21324b260812b;hp=380d6474cf661d91fb45ef88699c526b23dabd01;hpb=6f9f489a4eeaa3c8a8618e078a5270d2c4872b67;p=linux-2.6 diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 380d6474cf..1bfa078ddb 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -3216,14 +3216,18 @@ 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. */ void __init ip_static_sysctl_init(void) { +#ifdef CONFIG_SYSCTL register_sysctl_paths(ipv4_route_path, ipv4_route_table); +#endif } +#endif EXPORT_SYMBOL(__ip_select_ident); EXPORT_SYMBOL(ip_route_input);