diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2022-02-21 12:08:33 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-03-03 10:47:49 +1200 |
commit | 11399fdc86346ccc71f8a515d8a7d73902d2375f (patch) | |
tree | cf95a44d9eecb6ea5095cbff6d894e0c8833d060 /crypto/crypto_user_stat.c | |
parent | d55f0d225aacb0fab3135d2712c798c696eb3a2e (diff) | |
download | linux-crypto-11399fdc86346ccc71f8a515d8a7d73902d2375f.tar.gz linux-crypto-11399fdc86346ccc71f8a515d8a7d73902d2375f.zip |
crypto: engine - check if BH is disabled during completion
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: 0a3eb652fbcb ("crypto: engine - Introduce the block request crypto engine framework")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_user_stat.c')
0 files changed, 0 insertions, 0 deletions