summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2026-09-01 10:46:54 +0200
committerAndrii Nakryiko <andrii@kernel.org>2026-09-02 17:20:11 -0700
commit06d6f845c4bda857a6ae864690f35321b878e827 (patch)
tree07fe091efc8e9726e602b1ab6ebd03887385de7f /tools/lib/python/kdoc/python_version.py
parent418814c9fb26db952dad973b07d1d21d5fd66b54 (diff)
downloadlinux-next-06d6f845c4bda857a6ae864690f35321b878e827.tar.gz
linux-next-06d6f845c4bda857a6ae864690f35321b878e827.zip
bpftool: Set BPF_F_XDP_DEV_BOUND_ONLY flag non-destructively
When setting the XDP hints ifname, bpftool would set the BPF_F_XDP_DEV_BOUND_ONLY without looking at the existing program flags, overriding any other flag values. This was always a destructive action, but after we change libbpf to carry the frags section flag in prog_flags, this can impact bpftool loading of XDP frags programs. Change the flag setting to be non-destructive by OR'ing it with the existing flags. Fixes: f46392ee3dec ("bpftool: Specify XDP Hints ifname when loading program") Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com> Link: https://lore.kernel.org/bpf/20260901-libbpf-frags-flags-v3-1-4eb6f14968b0@redhat.com
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions