Skip to content
Commit a8cc4d5a authored by Corentin Labbe's avatar Corentin Labbe Committed by Greg Kroah-Hartman
Browse files

crypto: engine - check if BH is disabled during completion



[ Upstream commit 4058cf08 ]

When doing iperf over ipsec with crypto hardware sun8i-ce, I hit some
spinlock recursion bug.

This is due to completion function called with enabled BH.

Add check a to detect this.

Fixes: 735d37b5 ("crypto: engine - Introduce the block request crypto engine framework")
Signed-off-by: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Stable-dep-of: 4140aafc ("crypto: engine - fix crypto_queue backlog handling")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7b36a06b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment