Re: [PATCH v2] Bluetooth: L2CAP: return LE credits from recvmsg under the conn lock
From: patchwork-bot+bluetooth
Date: Tue Nov 17 2026 - 13:52:00 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Tue, 17 Nov 2026 21:49:37 +0700 you wrote:
> l2cap_chan_le_send_credits() allocates an ident from conn->tx_ida, sends
> L2CAP_LE_CREDITS and frees the ident right away, since the command has
> no response. The RX path frees idents in l2cap_put_ident() under
> conn->lock. That only works if the credits path holds conn->lock too,
> so that no response can be processed between the allocation and the
> free.
>
> [...]
Here is the summary with links:
- [v2] Bluetooth: L2CAP: return LE credits from recvmsg under the conn lock
https://git.kernel.org/bluetooth/bluetooth-next/c/5beb86f98c3d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html