Re: [PATCH 1/2] Support for VIA PadLock crypto engine

From: Michal Ludvig
Date: Wed May 12 2004 - 04:00:19 EST


Anyone testing/comitting this, please also apply the following patch
on top of the previous ones.

Michal Ludvig

--- linux-2.6.5/crypto/api.c 2004-05-11 14:42:55.000000000 +0200
+++ linux-2.6.5/crypto/api.c 2004-05-12 10:40:15.217391920 +0200
@@ -48,7 +48,7 @@ struct crypto_alg *crypto_alg_lookup(con
alg = q;
}

- if (! crypto_alg_get(alg))
+ if (alg && !crypto_alg_get(alg))
alg = NULL;

up_read(&crypto_alg_sem);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/