summaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorKui-Feng Lee <thinker.li@gmail.com>2024-03-13 14:41:38 -0700
committerAndrii Nakryiko <andrii@kernel.org>2024-03-14 13:47:05 -0700
commit26a7cf2bbea656837583f9a1a0f9390db63d6cc3 (patch)
tree23b3d167b14c63d771404758606aebfb8aaaa812 /scripts/bpf_doc.py
parentc911fc61a7ce367f9ea48e457f31bb171e80ca4d (diff)
selftests/bpf: Ensure libbpf skip all-zeros fields of struct_ops maps.
A new version of a type may have additional fields that do not exist in older versions. Previously, libbpf would reject struct_ops maps with a new version containing extra fields when running on a machine with an old kernel. However, we have updated libbpf to ignore these fields if their values are all zeros or null in order to provide backward compatibility. Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20240313214139.685112-3-thinker.li@gmail.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions