/[smeserver]/rpms/ppp-kmod/sme7/ppp-kmod-1.0.2-padfix.patch
ViewVC logotype

Contents of /rpms/ppp-kmod/sme7/ppp-kmod-1.0.2-padfix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Dec 1 15:41:56 2009 UTC (14 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: ppp-kmod-1_0_2-6_el4_sme, ppp-kmod-1_0_2-8_el4_sme, ppp-kmod-1_0_2-7_el4_sme, HEAD
* Tue Dec 1 2009 Shad L. Lords <slords@mail.com> 1.0.2-6.sme
- Update kmod to fix buffer too small errors [SME: 5628]

1 diff -up ppp-kmod-1.0.2/kernel_ppp_mppe-1.0.2/patches/linux-2.6.2-pad.patch.padfix ppp-kmod-1.0.2/kernel_ppp_mppe-1.0.2/patches/linux-2.6.2-pad.patch
2 --- patches/linux-2.6.2-pad.patch.padfix 2004-05-30 23:25:14.000000000 -0600
3 +++ patches/linux-2.6.2-pad.patch 2009-12-01 08:36:07.000000000 -0700
4 @@ -48,12 +48,16 @@
5 }
6 }
7
8 -@@ -1571,7 +1590,7 @@
9 - goto err;
10 +@@ -1601,10 +1620,10 @@
11 +
12 + switch(ppp->rcomp->compress_proto) {
13 + case CI_MPPE:
14 +- obuff_size = ppp->mru + PPP_HDRLEN + 1;
15 ++ obuff_size = ppp->mru + 128 + PPP_HDRLEN + 1;
16 + break;
17 + default:
18 +- obuff_size = ppp->mru + PPP_HDRLEN;
19 ++ obuff_size = ppp->mru + 128 + PPP_HDRLEN;
20 + break;
21 + }
22
23 - if (proto == PPP_COMP) {
24 -- ns = dev_alloc_skb(ppp->mru + PPP_HDRLEN);
25 -+ ns = dev_alloc_skb(ppp->mru + 128 + PPP_HDRLEN);
26 - if (ns == 0) {
27 - printk(KERN_ERR "ppp_decompress_frame: no memory\n");
28 - goto err;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed