diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 380d6474cf661d91fb45ef88699c526b23dabd01..d7bf0564b5f417732ce03ea49a8bb4cb78aac34e 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -3222,7 +3222,9 @@ int __init ip_rt_init(void) */ void __init ip_static_sysctl_init(void) { +#ifdef CONFIG_SYSCTL register_sysctl_paths(ipv4_route_path, ipv4_route_table); +#endif } EXPORT_SYMBOL(__ip_select_ident);