Skip to content

bpf: Fix BPF_PROG_QUERY last field check

Daniel Borkmann bpf 1 version Applied

Status from this message: This series was applied to bpf/bpf.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7bpf: Fix BPF_PROG_QUERY last field checkkernel/bpf/syscall.c+1 -10 repliesApplied
2/7bpf: Handle bpf_mprog_query with NULL entrykernel/bpf/mprog.c kernel/bpf/tcx.c+7 -110 repliesApplied
3/7bpf: Refuse unused attributes in bpf_prog_{attach,detach}kernel/bpf/syscall.c+14 -50 repliesApplied
4/7selftests/bpf: Test bpf_mprog query API via libbpf and raw syscalltools/testing/selftests/bpf/prog_tests/tc_opts.c+167 -00 repliesApplied
5/7selftests/bpf: Adapt assert_mprog_count to always expect 0 counttools/testing/selftests/bpf/prog_tests/tc_helpers.h tools/testing/selftests/bpf/prog_tests/tc_links.c tools/testing/selftests/bpf/prog_tests/tc_opts.c+8 -110 repliesApplied
6/7selftests/bpf: Test query on empty mprog and pass revision into attachtools/testing/selftests/bpf/prog_tests/tc_opts.c+59 -00 repliesApplied
7/7selftests/bpf: Make seen_tc* variable tests more robusttools/testing/selftests/bpf/prog_tests/tc_helpers.h tools/testing/selftests/bpf/prog_tests/tc_links.c tools/testing/selftests/bpf/prog_tests/tc_opts.c+46 -600 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread