Dennis Aberilla writes: > I dug on this a little further and noticed that in linux-2.4.18, there > are two files "zlib.[ch]" in drivers/net that's actually used by > ppp_deflate.c. Why is it not using the kernel's "inflate.c"?? I Because there are some significant behavioral differences between "standard" stream-oriented Deflate compression and the datagram-oriented variant that PPP uses. For more information, see RFC 1979 and the comments in PPP's zlib.[ch]. The additions are Z_PACKET_FLUSH, inflateIncomp, deflateOutputPending, and support for discarding output. > noticed that these "zlib.[ch]" files are no longer in 2.6.20; so as an > experiment, I copied these two files from 2.4.18 including > drivers/net/ppp_deflate.c to 2.6.20 and use them instead; the result: > Deflate works! > > Could there be a bug somewhere in the deflate code? Certainly could. It's tricky stuff. -- James Carlson 42.703N 71.076W <carlsonj@xxxxxxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html