You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! So what happens in that case? It breaks bpftool cgroup tree, is this correct?
Relevant upstream commits: kernel, bpftool (Linux 6.1). I suppose the fix will be to retry if we get -EINVAL at this step (assuming that's what you get from the syscall?).
bpftool/src/cgroup.c
Lines 235 to 245 in 43b5daa
prog_attach_flags
is the latest field in uapi but not exist in older kernelhttps://github.com/torvalds/linux/blob/7d2a07b769330c34b4deabeed939325c77a7ec2f/include/uapi/linux/bpf.h#L1400-L1407
and in kernel it will ensure all fields after it's last field(
prog_cnt
) must be zeroIt seems the upstream kernel doesn't have the compatibility issue because libbpf/bpftool is as the part of it's source.
The text was updated successfully, but these errors were encountered: