Re: [PATCH] Bluetooth: L2CAP: Hold the listener while notifying child teardown

From: patchwork-bot+bluetooth

Date: Fri Oct 09 2026 - 10:23:36 EST


Hello:

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

On Thu, 8 Oct 2026 12:26:26 +0800 you wrote:
> A pending child's listener must remain alive until the child's teardown
> callback finishes notifying it. l2cap_sock_teardown_cb() saves the raw
> bt_sk(sk)->parent pointer, calls bt_accept_unlink(), then invokes
> parent->sk_data_ready(). The accept queue holds a reference to the
> child, but the callback takes no reference to the listener across
> unlink.
>
> [...]

Here is the summary with links:
- Bluetooth: L2CAP: Hold the listener while notifying child teardown
https://git.kernel.org/bluetooth/bluetooth-next/c/0d5d090d235d

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