Skip to content

BPF selftests misc fixes

Geliang Tang bpf linux-kselftest 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- only check the first "link" (link_nl) in test_mixed_links().
- Drop patch 2 in v1.

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests/bpf: Null checks for links in bpf_tcp_catools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c+12 -40 repliesApplied
2/2selftests/bpf: Close obj in error path in xdp_adjust_tailtools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c+1 -10 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAlan Maguire
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/2] BPF selftests misc fixes

From: Geliang Tang <[email protected]>

v2:
- only check the first "link" (link_nl) in test_mixed_links().
- Drop patch 2 in v1.

Resend patch 1 out of "skip ENOTSUPP BPF selftests" set as Eduard suggested. Together with another fix for xdp_adjust_tail.

Geliang Tang (2):
selftests/bpf: Null checks for links in bpf_tcp_ca selftests/bpf: Close obj in error path in xdp_adjust_tail

 .../selftests/bpf/prog_tests/bpf_tcp_ca.c        | 16 ++++++++++++----
 .../selftests/bpf/prog_tests/xdp_adjust_tail.c   |  2 +-
 2 files changed, 13 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0