projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2f472
)
pkt_sched: sch_drr: Fix qlen in drr_drop()
author
Jarek Poplawski
<jarkao2@gmail.com>
Fri, 21 Nov 2008 12:37:27 +0000
(
04:37
-0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 21 Nov 2008 12:37:27 +0000
(
04:37
-0800)
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_drr.c
patch
|
blob
|
history
diff --git
a/net/sched/sch_drr.c
b/net/sched/sch_drr.c
index 8d523d9b636ca884648ac9ed5ddbcd64a419ac9b..37e6ab99bbeaa5e74c993cd5bdbd791d0e022413 100644
(file)
--- a/
net/sched/sch_drr.c
+++ b/
net/sched/sch_drr.c
@@
-406,6
+406,7
@@
static unsigned int drr_drop(struct Qdisc *sch)
if (cl->qdisc->ops->drop) {
len = cl->qdisc->ops->drop(cl->qdisc);
if (len > 0) {
+ sch->q.qlen--;
if (cl->qdisc->q.qlen == 0)
list_del(&cl->alist);
return len;