Message ID | 308bd3f5-d4f8-068b-7110-f9499ea7624e@users.sourceforge.net |
---|---|
State | Rejected, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/core/flow.c b/net/core/flow.c index f7f5d1932a27..08c851236b97 100644 --- a/net/core/flow.c +++ b/net/core/flow.c @@ -412,7 +412,6 @@ static int flow_cache_cpu_prepare(struct flow_cache *fc, int cpu) - if (!fcp->hash_table) { - pr_err("NET: failed to allocate flow cache sz %u\n", sz); + if (!fcp->hash_table) return -ENOMEM; - } + fcp->hash_rnd_recalc = 1; fcp->hash_count = 0; tasklet_init(&fcp->flush_tasklet, flow_cache_flush_tasklet, 0);