Skip to content

Commit

Permalink
crypto: mv_cesa - Invoke the user callback from a softirq context
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uri Simchoni authored and Herbert Xu committed Apr 13, 2010
1 parent 975d260 commit 0328ac2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/crypto/mv_cesa.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ static void dequeue_complete_req(void)
sg_miter_stop(&cpg->p.dst_sg_it);
mv_crypto_algo_completion();
cpg->eng_st = ENGINE_IDLE;
local_bh_disable();
req->base.complete(&req->base, 0);
local_bh_enable();
}
}

Expand Down

0 comments on commit 0328ac2

Please sign in to comment.