Hello:
This series was applied to netdev/net-next.git (main)
by Paolo Abeni <[email protected]>:
On Fri, 30 Oct 2026 08:35:34 +0000 you wrote:
> Fix two device-unregistration lifecycle bugs in devmem TCP bindings and
> add netdevsim support plus selftests covering both RX and TX device
> unregistration. These issues were found via LLM-assisted code review
> (Sashiko) and reproduced and verified with the new nl_netdev.py
> selftests on netdevsim (not tested on real hardware):
>
> 1. net: devmem: unmap dma_buf synchronously on queue uninstall
> Synchronously unmap and detach binding->attachment under binding->lock
> when the last RX queue is uninstalled in mp_dmabuf_devmem_uninstall()
> or closed in net_devmem_unbind_dmabuf(), and unmap remaining unbound RX
> bindings on NETDEV_UNREGISTER, preventing slab-use-after-free in
> dma_unmap_sg_attrs() when the binding is freed after dma_dev. Factor
> out net_devmem_lock_dev() and net_devmem_unlock_dev() to synchronize
> netdev_nl_sock_priv_destroy() and __net_devmem_dmabuf_binding_free()
> against NETDEV_UNREGISTER.
>
> [...]
Here is the summary with links:
- [net,v5,1/4] net: devmem: unmap dma_buf synchronously on queue uninstall
https://git.kernel.org/netdev/net-next/c/c4466d2c3e77
- [net,v5,2/4] net: devmem: detach TX bindings on NETDEV_UNREGISTER
https://git.kernel.org/netdev/net-next/c/ede1618064a9
- [net,v5,3/4] netdevsim: support devmem RX and TX bindings
https://git.kernel.org/netdev/net-next/c/c153da399354
- [net,v5,4/4] selftests: net: add devmem RX and TX netdev unregister tests
https://git.kernel.org/netdev/net-next/c/121ba2ac7968
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html