Re: [PATCH v3] Bluetooth: SCO: give the socket its own sco_conn reference
[email protected] Mon, 27 Jul 2026 20:50:10 +0000
| Newsgroups | org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <178518541063.1412337.17890508638369383289.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>: 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