Skip to contentSkip to conversation

2.5.70-bk18 adjust ppp to zlib change

PATCH New Jörn Engel 1 participant 1 message Jun 14, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.70-bk18 adjust ppp to zlib change

Hi Linus!

This bit is left from the zlib changes. According to Paul, the zlib bug is already caught in userspace pppd, but not in the kernel ppp code. With this patch, there is one potential hickup less in ppp.

Jörn

Signature · 16 lines
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-- Theodore Roosevelt, Kansas City Star, 1918

--- linux-2.5.70-bk14/include/linux/ppp-comp.h~ppp_deflate_min_size	2003-06-09 16:17:52.000000000 +0200
+++ linux-2.5.70-bk14/include/linux/ppp-comp.h	2003-06-09 16:27:12.000000000 +0200
@@ -182,7 +182,7 @@
 #define CI_DEFLATE_DRAFT	24	/* value used in original draft RFC */
 #define CILEN_DEFLATE		4	/* length of its config option */
 
-#define DEFLATE_MIN_SIZE	8
+#define DEFLATE_MIN_SIZE	9
 #define DEFLATE_MAX_SIZE	15
 #define DEFLATE_METHOD_VAL	8
 #define DEFLATE_SIZE(x)		(((x) >> 4) + DEFLATE_MIN_SIZE)