Re: [PATCH bpf] rethook: Fix to use WRITE_ONCE() for rethook::handler
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-03-31 02:30:37
Also in:
bpf
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-03-31 02:30:37
Also in:
bpf
Hello: This patch was applied to bpf/bpf.git (master) by Alexei Starovoitov [off-list ref]: On Thu, 31 Mar 2022 10:11:17 +0900 you wrote:
Since the function pointered by rethook::handler never be removed when the rethook is alive, it doesn't need to use rcu_assign_pointer() to update it. Just use WRITE_ONCE(). Reported-by: Alexei Starovoitov <redacted> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> [...]
Here is the summary with links:
- [bpf] rethook: Fix to use WRITE_ONCE() for rethook::handler
https://git.kernel.org/bpf/bpf/c/a2fb49833cad
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html