projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
975d260
)
crypto: mv_cesa - Invoke the user callback from a softirq context
author
Uri Simchoni
<uri@jdland.co.il>
Thu, 8 Apr 2010 16:25:37 +0000
(19:25 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 13 Apr 2010 08:50:46 +0000
(16:50 +0800)
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>
drivers/crypto/mv_cesa.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/mv_cesa.c
b/drivers/crypto/mv_cesa.c
index b21ef635f3521cbf41f61ff5ce7d01fd45902142..3e60ba909434ff666977ae98cda31af122b47d00 100644
(file)
--- a/
drivers/crypto/mv_cesa.c
+++ b/
drivers/crypto/mv_cesa.c
@@
-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();
}
}