diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2016-03-23 16:11:24 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 20:35:53 +0800 |
commit | bdb6cf9f6fe6d9af905ea34b7c4bb78ea601329e (patch) | |
tree | ec44080f2ebbc0320c6f68f72ff18cda0cafb326 /crypto/drbg.c | |
parent | 738f98233b94db55607f97a76f9699efc4217276 (diff) | |
download | lwn-bdb6cf9f6fe6d9af905ea34b7c4bb78ea601329e.tar.gz lwn-bdb6cf9f6fe6d9af905ea34b7c4bb78ea601329e.zip |
crypto: sun4i-ss - Replace spinlock_bh by spin_lock_irq{save|restore}
The current sun4i-ss driver could generate data corruption when ciphering/deciphering.
It occurs randomly on end of handled data.
No root cause have been found and the only way to remove it is to replace
all spin_lock_bh by their irq counterparts.
Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/drbg.c')
0 files changed, 0 insertions, 0 deletions