diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-07-28 09:07:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-07-28 09:07:07 +0000 |
commit | 57eaa31a128a601148d87a884ccdb5c06f371be0 (patch) | |
tree | 1003beb217d7e2b83a0b67b72856fee42b8b1fb7 /target/linux/generic-2.6 | |
parent | a5a0ef7ab7172920b52922b43f467cb2cda5ac1d (diff) | |
download | upstream-57eaa31a128a601148d87a884ccdb5c06f371be0.tar.gz upstream-57eaa31a128a601148d87a884ccdb5c06f371be0.tar.bz2 upstream-57eaa31a128a601148d87a884ccdb5c06f371be0.zip |
add another lzma pcomp fix by jeff hansen - fixes cleanup at the end of do_lzma processing
SVN-Revision: 17036
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch b/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch index 5a5b24f0a5..75dfc376a6 100644 --- a/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch +++ b/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch @@ -1,6 +1,6 @@ --- /dev/null +++ b/crypto/unlzma.c -@@ -0,0 +1,721 @@ +@@ -0,0 +1,723 @@ +/* + * LZMA uncompresion module for pcomp + * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org> @@ -526,6 +526,8 @@ + if (unlzma_should_stop(ctx)) + break; + } ++ if (likely(!unlzma_should_stop(ctx))) ++ rc_normalize(ctx); + + return ctx->pos; +} |