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 | 26c8aaebc188b539a0a9077350009a059464097d (patch) | |
tree | f13c222b9521a40c089dc76d6a330752b590a4b9 /crypto | |
parent | b9b0f080fac541d88eee4d5175c3f6470a9e9189 (diff) | |
download | linux-rpi3-26c8aaebc188b539a0a9077350009a059464097d.tar.gz linux-rpi3-26c8aaebc188b539a0a9077350009a059464097d.tar.bz2 linux-rpi3-26c8aaebc188b539a0a9077350009a059464097d.zip |
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>
Diffstat (limited to 'crypto')
-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 f97027e7d996..769219b29309 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); } |