Re: [PATCH bpf] bpf: fix potentially incorrect results with bpf_get_local_storage()

From
patchwork-bot+netdevbpf@kernel.org
Date
2021-08-10 08:30:10
Reply to
Yonghong Song, 2021-08-10
Hello:

This patch was applied to bpf/bpf.git (refs/heads/master):

On Mon, 9 Aug 2021 18:04:13 -0700 you wrote:
Commit b910eaaaa4b8 ("bpf: Fix NULL pointer dereference in
bpf_get_local_storage() helper") fixed a bug for bpf_get_local_storage()
helper so different tasks won't mess up with each other's
percpu local storage.

The percpu data contains 8 slots so it can hold up to 8 contexts
(same or different tasks), for 8 different program runs,
at the same time. This in general is sufficient. But our internal
testing showed the following warning multiple times:

[...]
Here is the summary with links:
  - [bpf] bpf: fix potentially incorrect results with bpf_get_local_storage()
    https://git.kernel.org/bpf/bpf/c/a2baf4e8bb0f

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

Thread (3 messages) 3 messages, 3 authors, last reply 2021-08-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help