diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 6264ec3bb154..b46ad53044ba 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2489,8 +2489,9 @@ ctl_table ipv6_route_table[] = { | |||
2489 | 2489 | ||
2490 | void __init ip6_route_init(void) | 2490 | void __init ip6_route_init(void) |
2491 | { | 2491 | { |
2492 | #ifdef CONFIG_PROC_FS | ||
2492 | struct proc_dir_entry *p; | 2493 | struct proc_dir_entry *p; |
2493 | 2494 | #endif | |
2494 | ip6_dst_ops.kmem_cachep = | 2495 | ip6_dst_ops.kmem_cachep = |
2495 | kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0, | 2496 | kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0, |
2496 | SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL); | 2497 | SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL); |