Skip to content

Conversation

@kernel-patches-daemon-bpf-rc
Copy link

Pull request for series with
subject: tools: bpftool: fix truncated netlink dumps
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1030643

Netlink requires that the recv buffer used during dumps is at least
min(PAGE_SIZE, 8k) (see the man page). Otherwise the messages will
get truncated. Make sure bpftool follows this requirement, avoid
missing information on systems with large pages.

Fixes: 7084566 ("tools/bpftool: Remove libbpf_internal.h usage in bpftool")
Signed-off-by: Jakub Kicinski <[email protected]>
@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 861111b
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1030643
version: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants