Skip to content

Various fixes for sockmap and reuseport tests

Lorenz Bauer bpf linux-kselftest lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 13 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4selftests: bpf: use a temporary file in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+5 -100 replies
2/4selftests: bpf: ignore FIN packets for reuseport teststools/testing/selftests/bpf/progs/test_select_reuseport_kern.c+6 -00 replies
3/4selftests: bpf: make reuseport test output more legibletools/testing/selftests/bpf/prog_tests/select_reuseport.c+24 -40 replies
4/4selftests: bpf: reset global state between reuseport test runstools/testing/selftests/bpf/prog_tests/select_reuseport.c+14 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJakub SitnickiMartin KaFai Lau
SeriesR-b A-b
1/4
2/4
3/4
4/4

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/4] Various fixes for sockmap and reuseport tests

I've fixed the commit messages, added Fixes tags and am submitting to bpf-next instead of the bpf tree.

There is still the question whether patch #1 needs to preserve O_RDONLY, which John can hopefully answer.

Lorenz Bauer (4):
selftests: bpf: use a temporary file in test_sockmap
selftests: bpf: ignore FIN packets for reuseport tests
selftests: bpf: make reuseport test output more legible
selftests: bpf: reset global state between reuseport test runs

 .../bpf/prog_tests/select_reuseport.c         | 44 ++++++++++++++++---
 .../bpf/progs/test_select_reuseport_kern.c    |  6 +++
 tools/testing/selftests/bpf/test_sockmap.c    | 15 +++----
 3 files changed, 49 insertions(+), 16 deletions(-)
Signature · 1 line
2.20.1