From: patchwork-bot+bluetooth@kernel.org
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v1] Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
Date: Thu, 05 Dec 2024 15:50:32 +0000 [thread overview]
Message-ID: <173341383226.1962790.6754291284055147773.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20241204165849.392564-1-luiz.dentz@gmail.com>
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Wed, 4 Dec 2024 11:58:48 -0500 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> The usage of rcu_read_(un)lock while inside list_for_each_entry_rcu is
> not safe since for the most part entries fetched this way shall be
> treated as rcu_dereference:
>
> Note that the value returned by rcu_dereference() is valid
> only within the enclosing RCU read-side critical section [1]_.
> For example, the following is **not** legal::
>
> [...]
Here is the summary with links:
- [v1] Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
https://git.kernel.org/bluetooth/bluetooth-next/c/042ca30229a0
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:[~2024-12-05 15:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-04 16:58 [PATCH v1] Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating Luiz Augusto von Dentz
2024-12-04 16:58 ` [PATCH v2] Bluetooth: hci_core: Fix sleeping function called from invalid context Luiz Augusto von Dentz
2024-12-04 17:31 ` [v2] " bluez.test.bot
2024-12-04 18:44 ` [PATCH v2] " Pauli Virtanen
2024-12-04 18:59 ` Luiz Augusto von Dentz
2024-12-05 15:12 ` Luiz Augusto von Dentz
2024-12-05 15:35 ` [syzbot] [bluetooth?] BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt syzbot
2024-12-05 15:50 ` [PATCH v2] Bluetooth: hci_core: Fix sleeping function called from invalid context patchwork-bot+bluetooth
2024-12-04 17:02 ` [PATCH v1] Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating Luiz Augusto von Dentz
2024-12-04 17:31 ` [v1] " bluez.test.bot
2024-12-05 15:50 ` 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=173341383226.1962790.6754291284055147773.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bluetooth@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@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 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.