bpf: Fix RHASH batch cursor loss
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- Add the batch subtests to the existing rhash.c suite.
- Carry Mykyta's Acked-by on the fix.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Report lost RHASH batch traversal keys as EAGAINkernel/ | +7 | 0 replies | |
| 2/2 | selftests/bpf: Cover RHASH batch cursor losstools/ | +177 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Mykyta Yatsenko |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf v2 0/2] bpf: Fix RHASH batch cursor loss
Report a lost RHASH traversal key as -EAGAIN rather than end-of-iteration. The kernel change is unchanged from v1.
Changes in v2:
- Add the batch subtests to the existing rhash.c suite.
- Carry Mykyta's Acked-by on the fix.
All 17 RHASH subtests pass in x86-64 KVM, with five further successful runs of the five batch subtests. The concurrent-delete test still fails on the unpatched kernel.
v1: https://lore.kernel.org/r/[email protected]
Tianyi Chen (2):
bpf: Report lost RHASH batch traversal keys as EAGAIN selftests/bpf: Cover RHASH batch cursor loss
kernel/bpf/hashtab.c | 13 +- .../testing/selftests/bpf/prog_tests/rhash.c | 177 ++++++++++++++++++ 2 files changed, 184 insertions(+), 6 deletions(-)
base-commit: 475a0cfd02f14d764023e926ac01fc7597134229
Signature · 1 line
2.56.0