Re: PPP loses compression sync when TCP transaction starts.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/31/07, James Carlson <carlsonj@xxxxxxxxxxxxxxx> wrote:
> 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>
>
Cheers to you mate! It now makes sense, thanks very much. I'm just
wondering why these files (PPP zlib) were inexistent in 2.6.20.
-
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

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux