diff --git a/net/sched/sch_hhf.c b/net/sched/sch_hhf.c index 6e957c3b9854acc025e43d9028b94f0af7f4d6c1..6aab8619bbb002570d206d9ff6bb9c90eb82261a 100644 --- a/net/sched/sch_hhf.c +++ b/net/sched/sch_hhf.c @@ -414,7 +414,7 @@ static int hhf_enqueue(struct sk_buff *skb, struct Qdisc *sch) } bucket->deficit = weight * q->quantum; } - if (++sch->q.qlen < sch->limit) + if (++sch->q.qlen <= sch->limit) return NET_XMIT_SUCCESS; q->drop_overlimit++;