mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
crypto: mv_cesa - Invoke the user callback from a softirq context
Invoke the user callback from a softirq context Signed-off-by: Uri Simchoni <uri@jdland.co.il> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
975d260355
commit
0328ac2675
1 changed files with 2 additions and 0 deletions
|
@ -275,7 +275,9 @@ static void dequeue_complete_req(void)
|
||||||
sg_miter_stop(&cpg->p.dst_sg_it);
|
sg_miter_stop(&cpg->p.dst_sg_it);
|
||||||
mv_crypto_algo_completion();
|
mv_crypto_algo_completion();
|
||||||
cpg->eng_st = ENGINE_IDLE;
|
cpg->eng_st = ENGINE_IDLE;
|
||||||
|
local_bh_disable();
|
||||||
req->base.complete(&req->base, 0);
|
req->base.complete(&req->base, 0);
|
||||||
|
local_bh_enable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue