Re: [PATCH net v2] can: esd_usb: kill anchored URBs before freeing netdevs
[email protected] Fri, 17 Jul 2026 09:50:37 +0000
| Newsgroups | org.kernel.vger.linux-can,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kernel.vger.stable |
|---|---|
| Message-ID | <178428183738.1639384.11588765728790272276.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Marc Kleine-Budde <[email protected]>: On Thu, 9 Jul 2026 16:41:59 +0000 you wrote: > esd_usb_disconnect() frees each CAN netdev with free_candev() inside > its per-netdev loop and only calls unlink_all_urbs(dev) afterwards. > The per-netdev private data (struct esd_usb_net_priv) is embedded in > the net_device allocation returned by alloc_candev(), so once > free_candev() has run, dev->nets[i] points to freed memory. > unlink_all_urbs() then dereferences the freed dev->nets[i] to kill the > per-netdev TX anchor (usb_kill_anchored_urbs(&priv->tx_submitted)), > clear active_tx_jobs, and reset priv->tx_contexts[]. > > [...] Here is the summary with links: - [net,v2] can: esd_usb: kill anchored URBs before freeing netdevs https://git.kernel.org/netdev/net/c/c43122fef328 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html