[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160744260580.27281.6558242327403068096.git-patchwork-notify@kernel.org>
Date: Tue, 08 Dec 2020 15:50:05 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Andrii Nakryiko <andrii@...nel.org>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org, ast@...com,
daniel@...earbox.net, kernel-team@...com
Subject: Re: [PATCH bpf] tools/bpftool: fix PID fetching with a lot of results
Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
On Fri, 4 Dec 2020 15:20:01 -0800 you wrote:
> In case of having so many PID results that they don't fit into a singe page
> (4096) bytes, bpftool will erroneously conclude that it got corrupted data due
> to 4096 not being a multiple of struct pid_iter_entry, so the last entry will
> be partially truncated. Fix this by sizing the buffer to fit exactly N entries
> with no truncation in the middle of record.
>
> Fixes: d53dee3fe013 ("tools/bpftool: Show info for processes holding BPF map/prog/link/btf FDs")
> Signed-off-by: Andrii Nakryiko <andrii@...nel.org>
>
> [...]
Here is the summary with links:
- [bpf] tools/bpftool: fix PID fetching with a lot of results
https://git.kernel.org/bpf/bpf/c/932c60558109
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists