Skip to content

BPF map value adjust fix

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5bpf: fix mixed signed/unsigned derived min/max value boundsinclude/linux/bpf_verifier.h kernel/bpf/verifier.c+95 -141 reply
2/5bpf: allow to specify log level and reduce it for test_verifiertools/lib/bpf/bpf.c tools/lib/bpf/bpf.h tools/testing/selftests/bpf/test_align.c +1 more+5 -50 replies
3/5bpf: fix up test cases with mixed signed/unsigned boundstools/testing/selftests/bpf/test_verifier.c+4 -40 replies
4/5bpf: add test for mixed signed and unsigned bounds checkstools/testing/selftests/bpf/test_verifier.c+52 -00 replies
5/5bpf: more tests for mixed signed and unsigned bounds checkstools/testing/selftests/bpf/test_verifier.c+418 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAlexei StarovoitovDaniel Borkmann
1/5A-b
2/5A-b
3/5A-b
4/5A-b A-b
5/5A-b

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

Read the v1 thread

Cover letter [PATCH net 0/5] BPF map value adjust fix

First patch in the series is the actual fix and the remaining patches are just updates to selftests.

Thanks!

Daniel Borkmann (4):
bpf: fix mixed signed/unsigned derived min/max value bounds
bpf: allow to specify log level and reduce it for test_verifier
bpf: fix up test cases with mixed signed/unsigned bounds
bpf: more tests for mixed signed and unsigned bounds checks

Edward Cree (1):
bpf: add test for mixed signed and unsigned bounds checks

 include/linux/bpf_verifier.h                |   1 +
 kernel/bpf/verifier.c                       | 108 ++++++-
 tools/lib/bpf/bpf.c                         |   4 +-
 tools/lib/bpf/bpf.h                         |   2 +-
 tools/testing/selftests/bpf/test_align.c    |   2 +-
 tools/testing/selftests/bpf/test_verifier.c | 480 +++++++++++++++++++++++++++-
 6 files changed, 574 insertions(+), 23 deletions(-)
Signature · 1 line
1.9.3