--- zzzz-none-000/linux-2.6.28.10/net/sched/sch_sfq.c 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/net/sched/sch_sfq.c 2016-11-08 13:42:37.000000000 +0000 @@ -402,8 +402,9 @@ sfq_index a, old_a; /* No active slots */ - if (q->tail == SFQ_DEPTH) + if (q->max_depth == 0) { return NULL; + } a = old_a = q->next[q->tail];