From 26c8aaebc188b539a0a9077350009a059464097d Mon Sep 17 00:00:00 2001 From: Steffen Klassert Date: Wed, 27 Jun 2012 13:31:01 +0200 Subject: 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 Signed-off-by: Herbert Xu --- crypto/algboss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/algboss.c') 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); } -- cgit v1.2.3-59-g8ed1b