Commit 26c8aaebc188b539a0a9077350009a059464097d

Authored by Steffen Klassert
Committed by Herbert Xu
1 parent b9b0f080fa

crypto: algapi - Fix hang on crypto allocation

git commit 398710379 (crypto: algapi - Move larval completion
into algboss) replaced accidentally a call to complete_all() by
a call to complete(). This causes a hang on crypto allocation
if we have more than one larval waiter. This pach restores the
call to complete_all().

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -87,7 +87,7 @@
87 87 crypto_tmpl_put(tmpl);
88 88  
89 89 out:
90   - complete(param->completion);
  90 + complete_all(param->completion);
91 91 kfree(param);
92 92 module_put_and_exit(0);
93 93 }