From: patchwork-bot+bluetooth@kernel.org
To: Niels Dossche <dossche.niels@gmail.com>
Cc: linux-bluetooth@vger.kernel.org, marcel@holtmann.org,
johan.hedberg@gmail.com, luiz.dentz@gmail.com,
howardchung@chromium.org
Subject: Re: [PATCH] Bluetooth: use hdev lock in activate_scan for hci_is_adv_monitoring
Date: Fri, 22 Apr 2022 09:30:12 +0000 [thread overview]
Message-ID: <165061981237.24106.5638198039269621064.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20220407180651.14871-1-dossche.niels@gmail.com>
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Marcel Holtmann <marcel@holtmann.org>:
On Thu, 7 Apr 2022 20:06:52 +0200 you wrote:
> hci_is_adv_monitoring's function documentation states that it must be
> called under the hdev lock. Paths that leads to an unlocked call are:
> discov_update => start_discovery => interleaved_discov => active_scan
> and: discov_update => start_discovery => active_scan
>
> The solution is to take the lock in active_scan during the duration of
> the call to hci_is_adv_monitoring.
>
> [...]
Here is the summary with links:
- Bluetooth: use hdev lock in activate_scan for hci_is_adv_monitoring
https://git.kernel.org/bluetooth/bluetooth-next/c/e05c3c0e1b45
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2022-04-22 9:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 18:06 [PATCH] Bluetooth: use hdev lock in activate_scan for hci_is_adv_monitoring Niels Dossche
2022-04-07 19:12 ` bluez.test.bot
2022-04-22 9:30 ` 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=165061981237.24106.5638198039269621064.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bluetooth@kernel.org \
--cc=dossche.niels@gmail.com \
--cc=howardchung@chromium.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.