Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:
On Wed, 10 Aug 2022 11:16:02 +0300 you wrote:
Currently, tls_device_down synchronizes with tls_device_resync_rx using
RCU, however, the pointer to netdev is stored using WRITE_ONCE and
loaded using READ_ONCE.
Although such approach is technically correct (rcu_dereference is
essentially a READ_ONCE, and rcu_assign_pointer uses WRITE_ONCE to store
NULL), using special RCU helpers for pointers is more valid, as it
includes additional checks and might change the implementation
transparently to the callers.
[...]
Here is the summary with links:
- [net,v2] net/tls: Use RCU API to access tls_ctx->netdev
https://git.kernel.org/netdev/net/c/94ce3b64c62d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html