diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-15 15:37:36 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-21 12:39:05 +0300 |
commit | ddd0a42671c0d9742fda97d26068ffbb51dd7c01 (patch) | |
tree | 8b95eb4431a0e095c6bf1def8dfa3d76de251308 /tools/perf/scripts/python/syscall-counts.py | |
parent | 7e0969bae493b346e62293d46dd965c545635f52 (diff) | |
download | linux-ddd0a42671c0d9742fda97d26068ffbb51dd7c01.tar.xz |
crypto: scompress - Fix scratch allocation failure handling
If the scratch allocation fails, all subsequent allocations will
silently succeed without actually allocating anything. Fix this
by only incrementing users when the allocation succeeds.
Fixes: 6a8487a1f29f ("crypto: scompress - defer allocation of scratch buffer to first use")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions