Re: [PATCH net v1] llc: fix SAP refcount leak when creating incoming sockets
From: patchwork-bot+netdevbpf
Date: Fri Jul 17 2026 - 07:21:05 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Sun, 12 Jul 2026 21:03:43 +0800 you wrote:
> From: Xuanqiang Luo <luoxuanqiang@xxxxxxxxxx>
>
> llc_sap_add_socket() takes a SAP reference for each socket added to a SAP,
> and llc_sap_remove_socket() releases it. llc_create_incoming_sock() takes
> an additional SAP reference after adding the child socket.
>
> This extra reference was balanced by an explicit llc_sap_put() in
> llc_ui_release() until commit 3100aa9d74db ("llc: fix SAP reference
> counting w.r.t. socket handling") removed that put. The corresponding hold
> in the accept path was left behind.
>
> [...]
Here is the summary with links:
- [net,v1] llc: fix SAP refcount leak when creating incoming sockets
https://git.kernel.org/netdev/net/c/2c72eb628634
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html