X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=linux%2Fmppe%2Flinux-2.4.18-pad.patch;h=00c71ae85facb62a47a8bc4da3d3e49588a6937c;hb=88354bdada295b51ce2d8677afa8897579794ac4;hp=30c697102900b8c2ae30a49c502acf8ef1691a84;hpb=f0b99c0189004a7ee11005f8dd1218b1c97610e7;p=ppp.git diff --git a/linux/mppe/linux-2.4.18-pad.patch b/linux/mppe/linux-2.4.18-pad.patch index 30c6971..00c71ae 100644 --- a/linux/mppe/linux-2.4.18-pad.patch +++ b/linux/mppe/linux-2.4.18-pad.patch @@ -48,7 +48,7 @@ } } -@@ -1515,7 +1534,7 @@ +@@ -1515,11 +1534,11 @@ int len; if (proto == PPP_COMP) { @@ -57,3 +57,7 @@ if (ns == 0) { printk(KERN_ERR "ppp_decompress_frame: no memory\n"); goto err; + } + /* 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);