]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun8i-ss - call finalize with bh disabled
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 21 Feb 2022 12:08:29 +0000 (12:08 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 2 Mar 2022 22:47:48 +0000 (10:47 +1200)
commit3d40d137eb733e27e6fd0f6b9e971abac5447c10
tree60481af3d837571d776618863e42cfb601224220
parent5a58b7912d7ba21db3555f1ccb4a771fc649c35a
crypto: sun8i-ss - call finalize with bh disabled

Doing ipsec produces a spinlock recursion warning.
This is due to not disabling BH during crypto completion function.

Fixes: 49eeb68ab159 ("crypto: allwinner - Add sun8i-ss cryptographic offloader")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c