Atomic flow dissector updates
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyApplied
- v22 patches 5 repliesSuperseded
- v12 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Rebased onto recent bpf-next 63098555cfe0 ("Merge branch 'bpf-romap-known-scalars'").
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | flow_dissector: Allow updating the flow dissector program atomicallynet/ | +7 | 0 replies | |
| 2/2 | selftests/bpf: Check that flow dissector can be re-attachedtools/ | +127 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Stanislav Fomichev | Martin KaFai Lau |
|---|---|---|
| 1/2 | R-b | A-b |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next v3 0/2] Atomic flow dissector updates
This patch set changes how bpf(BPF_PROG_ATTACH) operates on flow dissector hook when there is already a program attached. After this change the user is allowed to update the program in a single syscall. Please see the first patch for rationale.
v1 -> v2:
- Don't use CHECK macro which expects BPF program run duration, which we don't track in attach/detach tests. Suggested by Stanislav Fomichev.
- Test re-attaching flow dissector in both root and non-root network namespace. Suggested by Stanislav Fomichev.
v2 -> v3:
- Rebased onto recent bpf-next 63098555cfe0 ("Merge branch 'bpf-romap-known-scalars'").
Jakub Sitnicki (2):
flow_dissector: Allow updating the flow dissector program atomically selftests/bpf: Check that flow dissector can be re-attached
net/core/flow_dissector.c | 10 +- .../bpf/prog_tests/flow_dissector_reattach.c | 127 ++++++++++++++++++ 2 files changed, 134 insertions(+), 3 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/flow_dissector_reattach.c
Signature · 1 line
2.20.1