]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net_sched: add tcf_kfree_skb_list() helper
authorEric Dumazet <edumazet@google.com>
Fri, 21 Nov 2025 08:32:54 +0000 (08:32 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Nov 2025 15:10:32 +0000 (16:10 +0100)
commit0170d7f47c8bb0311bc802bad52245c045f151fe
treef2f5c00b628fb7998946546330af840d60b2e823
parent4792c3a4c1470202b0d5bf44b6058cb0fb050ba8
net_sched: add tcf_kfree_skb_list() helper

Using kfree_skb_list_reason() to free list of skbs from qdisc
operations seems wrong as each skb might have a different drop reason.

Cleanup __dev_xmit_skb() to call tcf_kfree_skb_list() once
in preparation of the following patch.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251121083256.674562-13-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/sch_generic.h
net/core/dev.c