diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-02-17 11:41:50 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-02-17 16:54:03 -0800 |
| commit | 3b39d73cc3379360a33eb583b17f21fe55e1288e (patch) | |
| tree | 6d531aee305e0103f1a816aa395f4b265d330c58 /tools/lib/python/abi/abi_parser.py | |
| parent | 593fffb8bcfdacc2111a9951afe1fae77988aa4a (diff) | |
bpftool: Fix truncated netlink dumps
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: 7084566a236f ("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>
Diffstat (limited to 'tools/lib/python/abi/abi_parser.py')
0 files changed, 0 insertions, 0 deletions
