diff options
-rw-r--r-- | net/sched/sch_drr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_drr.c b/net/sched/sch_drr.c index 8d523d9b636c..37e6ab99bbea 100644 --- a/net/sched/sch_drr.c +++ b/net/sched/sch_drr.c | |||
@@ -406,6 +406,7 @@ static unsigned int drr_drop(struct Qdisc *sch) | |||
406 | if (cl->qdisc->ops->drop) { | 406 | if (cl->qdisc->ops->drop) { |
407 | len = cl->qdisc->ops->drop(cl->qdisc); | 407 | len = cl->qdisc->ops->drop(cl->qdisc); |
408 | if (len > 0) { | 408 | if (len > 0) { |
409 | sch->q.qlen--; | ||
409 | if (cl->qdisc->q.qlen == 0) | 410 | if (cl->qdisc->q.qlen == 0) |
410 | list_del(&cl->alist); | 411 | list_del(&cl->alist); |
411 | return len; | 412 | return len; |