Upgrade to 4.4.50-rt62
[kvmfornfv.git] / kernel / crypto / algapi.c
index f98e79c..b54fd91 100644 (file)
@@ -357,6 +357,7 @@ int crypto_register_alg(struct crypto_alg *alg)
        struct crypto_larval *larval;
        int err;
 
+       alg->cra_flags &= ~CRYPTO_ALG_DEAD;
        err = crypto_check_alg(alg);
        if (err)
                return err;