aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/acompress.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-04-12 09:48:09 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-12 09:48:09 +0800
commit51a7c741f7e1c00839167a89a3d2a382a6d482f2 (patch)
treeed32b458fdce898ebdb89c20a203c044969b8e34 /crypto/acompress.c
parent3be3f70ee95da03a87d94c4a714ee679a5c7b34d (diff)
parentb2e689baf220408aff8ee5dfb4edb0817e1632bb (diff)
downloadnet-51a7c741f7e1c00839167a89a3d2a382a6d482f2.tar.gz
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Merge crypto tree to pick up scompress and ahash fixes. The scompress fix becomes mostly unnecessary as the bugs no longer exist with the new acompress code. However, keep the NULL assignment in crypto_acomp_free_streams so that if the user decides to call crypto_acomp_alloc_streams again it will work.
Diffstat (limited to 'crypto/acompress.c')
-rw-r--r--crypto/acompress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/acompress.c b/crypto/acompress.c
index 5807b87bb50812..5d0b8b8b84f684 100644
--- a/crypto/acompress.c
+++ b/crypto/acompress.c
@@ -483,6 +483,7 @@ void crypto_acomp_free_streams(struct crypto_acomp_streams *s)
void (*free_ctx)(void *);
int i;
+ s->streams = NULL;
if (!streams)
return;