/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.4.0-pppoeMlimit.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme9/e-smith-base-5.4.0-pppoeMlimit.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Feb 21 23:42:03 2013 UTC (11 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-base-5_4_0-33_el6_sme, e-smith-base-5_4_0-40_el6_sme, e-smith-base-5_4_0-44_el6_sme, e-smith-base-5_4_0-49_el6_sme, e-smith-base-5_4_0-23_el6_sme, e-smith-base-5_4_0-37_el6_sme, e-smith-base-5_4_0-15_el6_sme, e-smith-base-5_4_0-17_el6_sme, e-smith-base-5_4_0-42_el6_sme, e-smith-base-5_4_0-27_el6_sme, e-smith-base-5_4_0-22_el6_sme, e-smith-base-5_4_0-21_el6_sme, e-smith-base-5_4_0-24_el6_sme, e-smith-base-5_4_0-43_el6_sme, e-smith-base-5_4_0-34_el6_sme, e-smith-base-5_4_0-35_el6_sme, e-smith-base-5_4_0-36_el6_sme, e-smith-base-5_4_0-41_el6_sme, e-smith-base-5_4_0-30_el6_sme, e-smith-base-5_4_0-50_el6_sme, e-smith-base-5_4_0-29_el6_sme, e-smith-base-5_4_0-26_el6_sme, e-smith-base-5_4_0-58_el6_sme, e-smith-base-5_4_0-19_el6_sme, e-smith-base-5_4_0-45_el6_sme, e-smith-base-5_4_0-57_el6_sme, e-smith-base-5_4_0-46_el6_sme, e-smith-base-5_4_0-12_el6_sme, e-smith-base-5_4_0-62_el6_sme, e-smith-base-5_4_0-32_el6_sme, e-smith-base-5_4_0-39_el6_sme, e-smith-base-5_4_0-56_el6_sme, e-smith-base-5_4_0-14_el6_sme, e-smith-base-5_4_0-16_el6_sme, e-smith-base-5_4_0-52_el6_sme, e-smith-base-5_4_0-13_el6_sme, e-smith-base-5_4_0-54_el6_sme, e-smith-base-5_4_0-51_el6_sme, e-smith-base-5_4_0-47_el6_sme, e-smith-base-5_4_0-18_el6_sme, e-smith-base-5_4_0-55_el6_sme, e-smith-base-5_4_0-31_el6_sme, e-smith-base-5_4_0-38_el6_sme, e-smith-base-5_4_0-25_el6_sme, e-smith-base-5_4_0-28_el6_sme, e-smith-base-5_4_0-53_el6_sme, e-smith-base-5_4_0-61_el6_sme, e-smith-base-5_4_0-60_el6_sme, e-smith-base-5_4_0-48_el6_sme, e-smith-base-5_4_0-59_el6_sme
* Thu Feb 21 2013 Ian Wells <esmith@wellsi.com> 5.4.0-12.sme
- Increase memory limit for pppoe to 100Mb matching SME8 solution [SME: 7391]

1 wellsi 1.1 diff -urN e-smith-base-5.4.0.old/root/etc/e-smith/templates/var/service/wan/run.pppoe.conf/mlimit e-smith-base-5.4.0/root/etc/e-smith/templates/var/service/wan/run.pppoe.conf/mlimit
2     --- e-smith-base-5.4.0.old/root/etc/e-smith/templates/var/service/wan/run.pppoe.conf/mlimit 2013-01-31 07:52:04.000000000 -0800
3     +++ e-smith-base-5.4.0/root/etc/e-smith/templates/var/service/wan/run.pppoe.conf/mlimit 2013-02-21 15:22:02.000000000 -0800
4     @@ -1,5 +1,15 @@
5     {
6     -# memory limit to catch any memory leak before it kills the system
7     - my $mlimit = $pppoe{Mlimit} || '100000000';
8     - $OUT = "PPPD_MLIMIT=$mlimit";
9     + # memory limit to catch any memory leak before it kills the system
10     + use constant MIN_MEMORY_LIMIT => 100000000;
11     +
12     + # If there is a memory limit in the database and it is below the minimum, delete it.
13     + if (defined $pppoe{Mlimit} && $pppoe{Mlimit} < MIN_MEMORY_LIMIT)
14     + {
15     + $DB->get_prop_and_delete('pppoe','Mlimit');
16     + delete $pppoe{Mlimit};
17     + }
18     +
19     + $OUT = "PPPD_MLIMIT=";
20     + $OUT .= $pppoe{Mlimit} || MIN_MEMORY_LIMIT;
21     }
22     +

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