|
@@ -497,10 +497,10 @@ static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx,
|
|
|
|
|
|
req = cast_mcryptd_ctx_to_req(req_ctx);
|
|
req = cast_mcryptd_ctx_to_req(req_ctx);
|
|
if (irqs_disabled())
|
|
if (irqs_disabled())
|
|
- rctx->complete(&req->base, ret);
|
|
|
|
|
|
+ req_ctx->complete(&req->base, ret);
|
|
else {
|
|
else {
|
|
local_bh_disable();
|
|
local_bh_disable();
|
|
- rctx->complete(&req->base, ret);
|
|
|
|
|
|
+ req_ctx->complete(&req->base, ret);
|
|
local_bh_enable();
|
|
local_bh_enable();
|
|
}
|
|
}
|
|
}
|
|
}
|