Re: [PATCH net v2] net-sysfs: release queue trackers before allowing reuse
From: patchwork-bot+netdevbpf
Date: Mon Oct 05 2026 - 19:02:26 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 1 Oct 2026 02:11:06 +0800 you wrote:
> An interrupted sysfs_rtnl_lock() can drop the last kobject reference to a
> removed TX queue without holding RTNL. netdev_queue_release() clears the
> kobject before releasing queue->dev_tracker, allowing the queue to be
> re-added while the old release still needs the shared tracker slot:
>
> CPU 0 CPU 1
> netdev_queue_release()
> memset(kobj, 0, sizeof(*kobj))
> netdev_queue_add_kobject()
> state_initialized is clear
> netdev_hold() installs new tracker
> netdev_put() releases the new tracker
>
> [...]
Here is the summary with links:
- [net,v2] net-sysfs: release queue trackers before allowing reuse
https://git.kernel.org/netdev/net-next/c/a9d60b086944
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html