lkml.org 
[lkml]   [2004]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 1/2] Support for VIA PadLock crypto engine
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:03    [from the cache]
©2003-2011 Jasper Spaans