[CRYPTO] api: Wake up all waiters when larval completes
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 19 May 2007 07:51:40 +0000 (17:51 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Jul 2007 12:58:53 +0000 (20:58 +0800)
commitfe3c5206adc5d7395828185ab73e9a522655b984
treeafe289e4e685152f0051062a396c5d995f7d6c28
parent2e290f43ddb2331db2e308da206fe154bec91a7d
[CRYPTO] api: Wake up all waiters when larval completes

Right now when a larval matures or when it dies of an error we
only wake up one waiter.  This would cause other waiters to timeout
unnecessarily.  This patch changes it to use complete_all to wake
up all waiters.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c
crypto/api.c