]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: gemini - call finalize with bh disabled
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 21 Feb 2022 12:08:32 +0000 (12:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:08 +0000 (14:23 +0200)
commite686729c06a09f1606f12e555e325cacfc7eceb7
tree1da1426f73461df04995a29da43792bf5cec9048
parentd53ae06ec77a6bc07657d580d9c766dd9ef8a1ef
crypto: gemini - call finalize with bh disabled

[ Upstream commit 40ec28734760dcf3ab7b82c517a359f65dc07656 ]

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

Fixes: fecb84dc4ec26c31 ("crypto: sl3516 - Add sl3516 crypto engine")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/gemini/sl3516-ce-cipher.c