Commit 98aa9c80 authored by Jarek Poplawski's avatar Jarek Poplawski Committed by David S. Miller
Browse files

pkt_sched: sch_drr: Fix qlen in drr_drop()

Signed-off-by: default avatarJarek Poplawski <>
Acked-by: default avatarPatrick McHardy <>
Signed-off-by: default avatarDavid S. Miller <>
parent 9d2f4720
......@@ -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) {
if (cl->qdisc->q.qlen == 0)
return len;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment