diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 776871ee2288..f4385a6569c2 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2708,6 +2708,8 @@ int __init ip6_route_init(void) | |||
2708 | if (ret) | 2708 | if (ret) |
2709 | goto out_kmem_cache; | 2709 | goto out_kmem_cache; |
2710 | 2710 | ||
2711 | ip6_dst_blackhole_ops.kmem_cachep = ip6_dst_ops_template.kmem_cachep; | ||
2712 | |||
2711 | /* Registering of the loopback is done before this portion of code, | 2713 | /* Registering of the loopback is done before this portion of code, |
2712 | * the loopback reference in rt6_info will not be taken, do it | 2714 | * the loopback reference in rt6_info will not be taken, do it |
2713 | * manually for init_net */ | 2715 | * manually for init_net */ |