]> Gentwo Git Trees - linux/.git/commit
net_sched: use qdisc_dequeue_drop() in cake, codel, fq_codel
authorEric Dumazet <edumazet@google.com>
Fri, 21 Nov 2025 08:32:56 +0000 (08:32 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Nov 2025 15:10:32 +0000 (16:10 +0100)
commita6efc273ab8245722eee2150fa12cf75781dc410
tree3d1994b0c5f9165963ea3270de1eb96282d76341
parent191ff13e42a7b7824fec5b2ed84fd6481356754d
net_sched: use qdisc_dequeue_drop() in cake, codel, fq_codel

cake, codel and fq_codel can drop many packets from dequeue().

Use qdisc_dequeue_drop() so that the freeing can happen
outside of the qdisc spinlock scope.

Add TCQ_F_DEQUEUE_DROPS to sch->flags.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251121083256.674562-15-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/sched/sch_cake.c
net/sched/sch_codel.c
net/sched/sch_fq_codel.c