projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e4dfaf
)
[PKT_SCHED]: GRED: Fix restart of idle period in WRED mode upon dequeue and drop
author
Thomas Graf
<tgraf@suug.ch>
Sat, 5 Nov 2005 20:14:26 +0000
(21:14 +0100)
committer
Thomas Graf
<tgr@axs.localdomain>
Sat, 5 Nov 2005 21:02:28 +0000
(22:02 +0100)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/sched/sch_gred.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_gred.c
b/net/sched/sch_gred.c
index 1fb34be32f7c499e51e275cbc450cb5d356cefcc..69f0fd45d4c3bf8e215262a6174c5f06fa8d235a 100644
(file)
--- a/
net/sched/sch_gred.c
+++ b/
net/sched/sch_gred.c
@@
-267,7
+267,7
@@
static struct sk_buff *gred_dequeue(struct Qdisc* sch)
return skb;
}
- if (gred_wred_mode(t))
+ if (gred_wred_mode(t)
&& !red_is_idling(&t->wred_set)
)
red_start_of_idle_period(&t->wred_set);
return NULL;
@@
-301,7
+301,7
@@
static unsigned int gred_drop(struct Qdisc* sch)
return len;
}
- if (gred_wred_mode(t))
+ if (gred_wred_mode(t)
&& !red_is_idling(&t->wred_set)
)
red_start_of_idle_period(&t->wred_set);
return 0;