aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.30
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-07-28 09:07:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-07-28 09:07:07 +0000
commitd1b4d6e36a49733d97efcae84ccff8037a45e91d (patch)
tree7ff838446c96b00141dacc7e9a7851d6ca1ea5ae /target/linux/generic-2.6/patches-2.6.30
parent3ed3255c37214143de01ba77979006cbab39319d (diff)
downloadupstream-d1b4d6e36a49733d97efcae84ccff8037a45e91d.tar.gz
upstream-d1b4d6e36a49733d97efcae84ccff8037a45e91d.tar.bz2
upstream-d1b4d6e36a49733d97efcae84ccff8037a45e91d.zip
add another lzma pcomp fix by jeff hansen - fixes cleanup at the end of do_lzma processing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17036 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.30')
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch4
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;
+}