crypto: amlogic - call finalize with bh disabled
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 21 Feb 2022 12:08:31 +0000 (12:08 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 2 Mar 2022 22:47:49 +0000 (10:47 +1200)
commitdba633342994ce47d347bcf5522ba28301247b79
treed1dfca55851f0e7f59414c3c1b26af8d3778325d
parentf75a749b6d78aeae2ce90e14fcc4b7b3ba46126d
crypto: amlogic - call finalize with bh disabled

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>
drivers/crypto/amlogic/amlogic-gxl-cipher.c