Re: [PATCH net-next] net: iterate online nodes in skb_defer_free_flush()

From: Jakub Kicinski

Date: Thu Oct 01 2026 - 20:58:46 EST


On Thu, 01 Oct 2026 01:49:25 +0000 netdev-bot+sashiko@xxxxxxxxxx wrote:
> skb_attempt_defer_free() chooses the list without checking whether the
> node is online:
>
> net/core/skbuff.c:skb_attempt_defer_free() {
> ...
> sdn = per_cpu_ptr(net_hotdata.skb_defer_nodes, cpu) + cpu_to_node(my_cpu);

not sure why it says that. There's a check earlier in that function
AFAICT