Commit 66f4beaa authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull crypto fix from Herbert Xu:
 "This fixes a boot crash regression"

* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
  crypto: api - Fix boot-up crash when crypto manager is disabled
parents 6cbcc7ab beaaaa37
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -284,6 +284,8 @@ static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg)

	if (larval)
		list_add(&larval->alg.cra_list, &crypto_alg_list);
	else
		alg->cra_flags |= CRYPTO_ALG_TESTED;

	crypto_stats_init(alg);