)]}'
{
  "commit": "06e3f54e8b22040ada01a28343badf1990b4dd7d",
  "tree": "9aef63ca855d0f5730db275590fac7c010bc317e",
  "parents": [
    "8db67bb6a1fffa4df68fbbc22e39943aeeff9178"
  ],
  "author": {
    "name": "Eric Dumazet",
    "email": "edumazet@google.com",
    "time": "Wed Sep 23 13:03:18 2026 +0000"
  },
  "committer": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Thu Sep 24 10:48:10 2026 -0700"
  },
  "message": "net: flush skb_defer_nodes in dev_cpu_dead()\n\nWhen a CPU goes offline, dev_cpu_dead() drains its softnet queues\n(completion_queue, output_queue, poll_list, process_queue, and\ninput_pkt_queue), but leaves net_hotdata.skb_defer_nodes untouched.\n\nIf oldcpu goes offline while holding pending skbs in its\nskb_defer_nodes lists (e.g. below the sysctl_skb_defer_max \u003e\u003e 1 IPI\nthreshold, or if the IPI races with CPU teardown), those skbs remain\nstranded until oldcpu is brought back online. If any of these skbs\nhold page_pool fragments, page_pool_destroy() will stall indefinitely\nwaiting for inflight pages to be returned when a netdev or driver is\ntorn down while oldcpu is offline.\n\nAdditionally, if smp_call_function_single_async() fails in\nkick_defer_list_purge() because the target CPU went offline, reset\ndefer_ipi_scheduled to 0 so future IPI kicks are not blocked when the\nCPU comes back online.\n\nAlso, if oldcpu was the last online CPU on its NUMA node, drain that\nnode\u0027s slot across all CPUs so no skbs deferred from that node remain\nstranded on idle remote CPUs (or if the node itself is subsequently\nofflined).\n\nFinally, in skb_attempt_defer_free(), re-check cpu_online(cpu) and\nwhether the caller migrated CPUs after llist_add(), flushing the node\nlist if so, to close the preemption TOCTOU race against CPU/node\nteardown.\n\nFixes: 68822bdf76f1 (\"net: generalize skb freeing deferral to per-cpu lists\")\nFixes: 5628f3fe3b16 (\"net: add NUMA awareness to skb_attempt_defer_free()\")\nCloses: https://lore.kernel.org/netdev/20260916003430.3612956-1-kris.pan@intel.com/\nSigned-off-by: Eric Dumazet \u003cedumazet@google.com\u003e\nCc: Kris Pan \u003ckris.pan@intel.com\u003e\nLink: https://patch.msgid.link/20260923130318.607255-1-edumazet@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0292a16e16c2cb9bf942847e1303655e591a1b16",
      "old_mode": 33188,
      "old_path": "net/core/dev.c",
      "new_id": "f660fccfc0dbc56d7e1a9643525229b278bca547",
      "new_mode": 33188,
      "new_path": "net/core/dev.c"
    },
    {
      "type": "modify",
      "old_id": "b757faead4d1a3e445e54d2f468c38c9e09b6762",
      "old_mode": 33188,
      "old_path": "net/core/dev.h",
      "new_id": "04fb0e9a571e03f41cac110a0d1dd864d110b339",
      "new_mode": 33188,
      "new_path": "net/core/dev.h"
    },
    {
      "type": "modify",
      "old_id": "b4edbd06655e2ac46fdccc74979295f4a938078f",
      "old_mode": 33188,
      "old_path": "net/core/skbuff.c",
      "new_id": "c3042d822afa7aaaae7cad6aba4d647af0732aeb",
      "new_mode": 33188,
      "new_path": "net/core/skbuff.c"
    }
  ]
}
