Commit 6383fad8 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[IPSEC]: Fix preempt race in flow_flush_cache.

parent 1ee0db3c
......@@ -267,8 +267,8 @@ void flow_cache_flush(void *object)
down(&flow_flush_sem);
smp_call_function(flow_cache_flush_per_cpu, &info, 1, 0);
local_bh_disable();
smp_call_function(flow_cache_flush_per_cpu, &info, 1, 0);
flow_cache_flush_per_cpu(&info);
local_bh_enable();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment