diff options
Diffstat (limited to 'net/ipv6/ip6_fib.c')
-rw-r--r-- | net/ipv6/ip6_fib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index fbca60950b14..8fcae7a6510b 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c | |||
@@ -1472,10 +1472,8 @@ void __init fib6_init(void) | |||
1472 | { | 1472 | { |
1473 | fib6_node_kmem = kmem_cache_create("fib6_nodes", | 1473 | fib6_node_kmem = kmem_cache_create("fib6_nodes", |
1474 | sizeof(struct fib6_node), | 1474 | sizeof(struct fib6_node), |
1475 | 0, SLAB_HWCACHE_ALIGN, | 1475 | 0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, |
1476 | NULL, NULL); | 1476 | NULL, NULL); |
1477 | if (!fib6_node_kmem) | ||
1478 | panic("cannot create fib6_nodes cache"); | ||
1479 | 1477 | ||
1480 | fib6_tables_init(); | 1478 | fib6_tables_init(); |
1481 | } | 1479 | } |