diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2012-06-27 13:31:01 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-06-27 20:59:12 +0800 |
commit | eaf50eed7e10822bd83a44fb14372cf3130d8bb8 (patch) | |
tree | 28ebcbf75ddaa7c87c679fde67d577daebc3425d | |
parent | c6ccf46bbd15617af8abddf76b7733463629c476 (diff) | |
download | linux-crypto-eaf50eed7e10822bd83a44fb14372cf3130d8bb8.tar.gz linux-crypto-eaf50eed7e10822bd83a44fb14372cf3130d8bb8.zip |
crypto: algapi - Fix hang on crypto allocation
git commit 582802f3e (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>
Diffstat (limited to '')
-rw-r--r-- | crypto/algboss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algboss.c b/crypto/algboss.c index f97027e7..769219b2 100644 --- a/crypto/algboss.c +++ b/crypto/algboss.c @@ -87,7 +87,7 @@ static int cryptomgr_probe(void *data) crypto_tmpl_put(tmpl); out: - complete(param->completion); + complete_all(param->completion); kfree(param); module_put_and_exit(0); } |