+4
−1
+3
−1
Loading
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. Acked-by:Quentin Monnet <qmo@kernel.org> Fixes: 7084566a ("tools/bpftool: Remove libbpf_internal.h usage in bpftool") Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20260217194150.734701-1-kuba@kernel.org Signed-off-by:
Alexei Starovoitov <ast@kernel.org>