Re: [PATCH] crypto: fix larval lookup

2008-08-18 Thread Herbert Xu
Christian Hohnstaedt <[EMAIL PROTECTED]> wrote: > > crypto_alg_mod_lookup() runs in a timeout (60s) for unknown algos. > > crypto_larval_error() doesn't find the larval and thus doesn't > finish crypto_larval_wait, because > the larval->mask has the CRYPTO_ALG_TESTED bit set, while > crypto_alg_l

[PATCH] crypto: fix larval lookup

2008-08-18 Thread Christian Hohnstaedt
crypto_alg_mod_lookup() runs in a timeout (60s) for unknown algos. crypto_larval_error() doesn't find the larval and thus doesn't finish crypto_larval_wait, because the larval->mask has the CRYPTO_ALG_TESTED bit set, while crypto_alg_lookup() is called without that bit in the mask and the mask co