X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=linux%2Fmppe%2Flinux-2.4.18-pad.patch;fp=linux%2Fmppe%2Flinux-2.4.18-pad.patch;h=01a56ff8ce586708df535e87f81946cdcc7cca1c;hb=18d6d53363a27887854e623aaf2d2ebcebcc8c7a;hp=00c71ae85facb62a47a8bc4da3d3e49588a6937c;hpb=76bb2b14a56e313b06b727d015fcd6f7ba6f789c;p=ppp.git diff --git a/linux/mppe/linux-2.4.18-pad.patch b/linux/mppe/linux-2.4.18-pad.patch index 00c71ae..01a56ff 100644 --- a/linux/mppe/linux-2.4.18-pad.patch +++ b/linux/mppe/linux-2.4.18-pad.patch @@ -48,7 +48,7 @@ } } -@@ -1515,11 +1534,11 @@ +@@ -1515,14 +1534,14 @@ int len; if (proto == PPP_COMP) { @@ -60,4 +60,8 @@ } /* the decompressor still expects the A/C bytes in the hdr */ len = ppp->rcomp->decompress(ppp->rc_state, skb->data - 2, - skb->len + 2, ns->data, ppp->mru + 128 + PPP_HDRLEN); +- skb->len + 2, ns->data, ppp->mru + PPP_HDRLEN); ++ skb->len + 2, ns->data, ppp->mru + 128 + PPP_HDRLEN); + if (len < 0) { + /* Pass the compressed frame to pppd as an + error indication. */