--- zzzz-none-000/linux-2.6.39.4/net/sched/sch_sfq.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/net/sched/sch_sfq.c 2021-11-10 13:38:18.000000000 +0000 @@ -421,9 +421,10 @@ sfq_index a, next_a; struct sfq_slot *slot; - /* No active slots */ - if (q->tail == NULL) - return NULL; + /* No active slots, backport fix JZ-26841 cduerrschmidt */ + if (q->cur_depth == 0) { + return NULL; + } next_slot: a = q->tail->next;