🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by patchwork-bot+netdevbpf Tue, 03 Nov 2026 08:10
Re: [PATCH net v5 0/4] net: devmem: fix RX and TX binding teardown on device unregistration
#10124
Author: patchwork-bot+netdevbpf
Date: Tue, 03 Nov 2026 08:10
39 lines
10168 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads