--- zzzz-none-000/linux-4.9.276/net/sched/sch_sfq.c 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/net/sched/sch_sfq.c 2023-04-05 08:19:02.000000000 +0000 @@ -185,6 +185,7 @@ switch (result) { case TC_ACT_STOLEN: case TC_ACT_QUEUED: + case TC_ACT_TRAP: *qerr = NET_XMIT_SUCCESS | __NET_XMIT_STOLEN; case TC_ACT_SHOT: return 0; @@ -485,8 +486,9 @@ struct sfq_slot *slot; /* No active slots */ - if (q->tail == NULL) + if (q->cur_depth == 0) { return NULL; + } next_slot: a = q->tail->next;