Linux bluetooth development
 help / color / mirror / Atom feed
From: patchwork-bot+bluetooth@kernel.org
To: Enjan Chou <zhouer@gmail.com>
Cc: linux-bluetooth@vger.kernel.org, marcel@holtmann.org,
	luiz.dentz@gmail.com, oss@fourdim.xyz,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v2] Bluetooth: hci_conn: Don't leak hci_conn when dequeuing its create command
Date: Fri, 04 Dec 2026 16:10:08 +0000	[thread overview]
Message-ID: <179640060865.1250723.9288427602692734170.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261201065927.1189739-1-zhouer@gmail.com>

Hello:

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

On Tue,  1 Dec 2026 01:59:27 -0500 you wrote:
> When hci_cancel_connect_sync() dequeues a create connection command,
> hci_abort_conn() returns without queuing abort_conn_sync(). Nothing else
> cleans up the hci_conn, so it is left behind with abort_reason set and
> can no longer be aborted.
> 
> If an LE connection made through L2CAP is left like this, the next
> create command for it connects in the controller, but
> hci_conn_set_handle() refuses the handle because abort_reason is set.
> The hci_conn then stays in BT_CONNECT and blocks all other LE connection
> attempts until the adapter is powered off.
> 
> [...]

Here is the summary with links:
  - [v2] Bluetooth: hci_conn: Don't leak hci_conn when dequeuing its create command
    https://git.kernel.org/bluetooth/bluetooth-next/c/2e9a9a7bfe4f

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



      parent reply	other threads:[~2026-12-04 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  6:59 [PATCH v2] Bluetooth: hci_conn: Don't leak hci_conn when dequeuing its create command Enjan Chou
2026-12-02  3:03 ` [v2] " bluez.test.bot
2026-12-04 16:10 ` patchwork-bot+bluetooth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179640060865.1250723.9288427602692734170.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+bluetooth@kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    --cc=oss@fourdim.xyz \
    --cc=stable@vger.kernel.org \
    --cc=zhouer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox