Skip to content

bpf: Some fixes for nullness elision

Daniel Xu bpf linux-kselftest lkml 2 versions – 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 · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied 3/3
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* Reword commit message in patch 1
* Add tags

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3bpf: verifier: Do not extract constant map keys for irrelevant mapskernel/bpf/verifier.c+7 -30 repliesApplied
2/3bpf: selftests: Test constant key extraction on irrelevant mapstools/testing/selftests/bpf/progs/verifier_array_access.c+15 -00 repliesApplied
3/3bpf: verifier: Disambiguate get_constant_map_key() errorskernel/bpf/verifier.c+17 -80 repliesApplied

Reviews trailers per patch

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

PatchEduard ZingermanMarc Hartmayer
1/3A-b T-b
2/3A-b
3/3A-b

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/3] bpf: Some fixes for nullness elision

Two fixes for nullness elision. See commits for more details.

=== Changelog ===
Changes from v1:
* Reword commit message in patch 1
* Add tags

Daniel Xu (3):
bpf: verifier: Do not extract constant map keys for irrelevant maps
bpf: selftests: Test constant key extraction on irrelevant maps
bpf: verifier: Disambiguate get_constant_map_key() errors

 kernel/bpf/verifier.c                         | 29 ++++++++++++++-----
 .../bpf/progs/verifier_array_access.c         | 15 ++++++++++
 2 files changed, 36 insertions(+), 8 deletions(-)
Signature · 1 line
2.47.1