aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/212-htb_time_fix.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-05-19 13:44:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-19 13:44:11 +0000
commitdfe741470a20d34fe482c94dae97ea99317dac4f (patch)
tree8ae84a0d3adf204fa7478c12d44ca550a0466472 /target/linux/generic-2.4/patches/212-htb_time_fix.patch
parent2e6536f7293cab817c990f2672a51d57fae203eb (diff)
downloadupstream-dfe741470a20d34fe482c94dae97ea99317dac4f.tar.gz
upstream-dfe741470a20d34fe482c94dae97ea99317dac4f.tar.bz2
upstream-dfe741470a20d34fe482c94dae97ea99317dac4f.zip
refresh generic-2.4 patches
SVN-Revision: 11213
Diffstat (limited to 'target/linux/generic-2.4/patches/212-htb_time_fix.patch')
-rw-r--r--target/linux/generic-2.4/patches/212-htb_time_fix.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/generic-2.4/patches/212-htb_time_fix.patch b/target/linux/generic-2.4/patches/212-htb_time_fix.patch
index 1bcdc01097..faef690a47 100644
--- a/target/linux/generic-2.4/patches/212-htb_time_fix.patch
+++ b/target/linux/generic-2.4/patches/212-htb_time_fix.patch
@@ -1,8 +1,8 @@
Index: linux-2.4.35.4/net/sched/sch_htb.c
===================================================================
---- linux-2.4.35.4.orig/net/sched/sch_htb.c 2007-12-15 05:19:39.010644128 +0100
-+++ linux-2.4.35.4/net/sched/sch_htb.c 2007-12-15 05:20:00.751883092 +0100
-@@ -369,7 +369,7 @@
+--- linux-2.4.35.4.orig/net/sched/sch_htb.c
++++ linux-2.4.35.4/net/sched/sch_htb.c
+@@ -369,7 +369,7 @@ static void htb_debug_dump (struct htb_s
struct list_head *l;
list_for_each (l,q->hash+i) {
struct htb_class *cl = list_entry(l,struct htb_class,hlist);
@@ -11,7 +11,7 @@ Index: linux-2.4.35.4/net/sched/sch_htb.c
printk(KERN_DEBUG "htb*c%x m=%d t=%ld c=%ld pq=%lu df=%ld ql=%d "
"pa=%x f:",
cl->classid,cl->cmode,cl->tokens,cl->ctokens,
-@@ -617,7 +617,7 @@
+@@ -617,7 +617,7 @@ static void htb_deactivate_prios(struct
* mode transitions per time unit. The speed gain is about 1/6.
*/
static __inline__ enum htb_cmode
@@ -20,7 +20,7 @@ Index: linux-2.4.35.4/net/sched/sch_htb.c
{
long toks;
-@@ -650,7 +650,7 @@
+@@ -650,7 +650,7 @@ htb_class_mode(struct htb_class *cl,long
* to mode other than HTB_CAN_SEND (see htb_add_to_wait_tree).
*/
static void
@@ -29,7 +29,7 @@ Index: linux-2.4.35.4/net/sched/sch_htb.c
{
enum htb_cmode new_mode = htb_class_mode(cl,diff);
-@@ -815,7 +815,8 @@
+@@ -815,7 +815,8 @@ static void htb_rate_timer(unsigned long
static void htb_charge_class(struct htb_sched *q,struct htb_class *cl,
int level,int bytes)
{
@@ -39,7 +39,7 @@ Index: linux-2.4.35.4/net/sched/sch_htb.c
enum htb_cmode old_mode;
HTB_DBG(5,1,"htb_chrg_cl cl=%X lev=%d len=%d\n",cl->classid,level,bytes);
-@@ -831,7 +832,7 @@
+@@ -831,7 +832,7 @@ static void htb_charge_class(struct htb_
#ifdef HTB_DEBUG
if (diff > cl->mbuffer || diff < 0 || PSCHED_TLESS(q->now, cl->t_c)) {
if (net_ratelimit())
@@ -48,7 +48,7 @@ Index: linux-2.4.35.4/net/sched/sch_htb.c
cl->classid, diff,
(unsigned long long) q->now,
(unsigned long long) cl->t_c,
-@@ -848,7 +849,7 @@
+@@ -848,7 +849,7 @@ static void htb_charge_class(struct htb_
}
HTB_ACCNT (ctokens,cbuffer,ceil);
cl->t_c = q->now;
@@ -57,7 +57,7 @@ Index: linux-2.4.35.4/net/sched/sch_htb.c
old_mode = cl->cmode; diff = 0;
htb_change_class_mode(q,cl,&diff);
-@@ -887,7 +888,7 @@
+@@ -887,7 +888,7 @@ static long htb_do_events(struct htb_sch
level,q->wait_pq[level].rb_node,q->row_mask[level]);
for (i = 0; i < 500; i++) {
struct htb_class *cl;
@@ -66,7 +66,7 @@ Index: linux-2.4.35.4/net/sched/sch_htb.c
rb_node_t *p = q->wait_pq[level].rb_node;
if (!p) return 0;
while (p->rb_left) p = p->rb_left;
-@@ -902,7 +903,7 @@
+@@ -902,7 +903,7 @@ static long htb_do_events(struct htb_sch
#ifdef HTB_DEBUG
if (diff > cl->mbuffer || diff < 0 || PSCHED_TLESS(q->now, cl->t_c)) {
if (net_ratelimit())