--- sch_sfq.orig 2004-02-09 11:10:43.000000000 -0200 +++ sch_sfq.c 2004-02-11 02:32:06.000000000 -0200 @@ -338,6 +338,7 @@ /* Is the slot empty? */ if (q->qs[a].qlen == 0) { + q->ht[q->hash[a]] = SFQ_DEPTH; a = q->next[a]; if (a == old_a) { q->tail = SFQ_DEPTH;