]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: amlogic - call finalize with bh disabled
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 21 Feb 2022 12:08:31 +0000 (12:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:36 +0000 (13:57 +0200)
commit52fcb059b703deada9170211c58910410314cb70
tree38e22f0c6c8b82ac5d21520fa063af2d2f9e4dfc
parentd7f8e17ebef47410dfcbe1e55c300d29227821b5
crypto: amlogic - call finalize with bh disabled

[ Upstream commit dba633342994ce47d347bcf5522ba28301247b79 ]

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

Fixes: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for amlogic GXL")
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/amlogic/amlogic-gxl-cipher.c