crypto: deflate - Make the acomp walk atomic
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 15 Apr 2025 09:23:19 +0000 (17:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 17 Apr 2025 02:41:47 +0000 (10:41 +0800)
commitddd0855fa3c3f1de020ab3aeddce15fe38e116f7
tree690e1055674ddcd0d5c519b6f52278e86cdeea2f
parent2f5f3cd003fa303574da1a8fcdec9f602b7fc221
crypto: deflate - Make the acomp walk atomic

Add an atomic flag to the acomp walk and use that in deflate.
Due to the use of a per-cpu context, it is impossible to sleep
during the walk in deflate.

Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202504151654.4c3b6393-lkp@intel.com
Fixes: 08cabc7d3c86 ("crypto: deflate - Convert to acomp")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/acompress.c
crypto/deflate.c
include/crypto/internal/acompress.h