Re: [PATCH v3] Bluetooth: SCO: give the socket its own sco_conn reference

From: patchwork-bot+bluetooth

Date: Mon Jul 27 2026 - 16:51:43 EST


Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Sat, 25 Jul 2026 16:52:30 -0300 you wrote:
> sco_conn_del() drops a reference it does not own. It takes one transient
> reference via sco_conn_hold_unless_zero() and releases it with the
> sco_conn_put() that follows sco_sock_hold(); the additional put in the
> !sk branch releases a second one:
>
> conn = sco_conn_hold_unless_zero(conn);
> ...
> sk = sco_sock_hold(conn);
> sco_conn_unlock(conn);
> sco_conn_put(conn);
>
> [...]

Here is the summary with links:
- [v3] Bluetooth: SCO: give the socket its own sco_conn reference
https://git.kernel.org/bluetooth/bluetooth-next/c/018d1e023ea5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html