bpf: allow wide (u64) aligned stores for some fields of bpf_sock_addr
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 2 repliesApplied
- v23 patches 3 repliesSuperseded
- v12 patches 9 repliesSuperseded
Changes in v3 from the cover letter
* fix comments spelling an -> and (Andrii Nakryiko)
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: allow wide (u64) aligned stores for some fields of bpf_sock_addrinclude/ include/ net/ | +23 | 0 replies | |
| 2/3 | bpf: sync bpf.h to tools/tools/ | +3 | 0 replies | |
| 3/3 | selftests/bpf: add verifier tests for wide storestools/ tools/ | +50 | 1 reply |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Yonghong Song | Andrii Nakryiko |
|---|---|---|
| 1/3 | A-b | A-b |
| 2/3 | ||
| 3/3 | A-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/3] bpf: allow wide (u64) aligned stores for some fields of bpf_sock_addr
Clang can generate 8-byte stores for user_ip6 & msg_src_ip6, let's support that on the verifier side.
v3:
* fix comments spelling an -> and (Andrii Nakryiko)
v2:
* Add simple cover letter (Yonghong Song)
* Update comments (Yonghong Song)
* Remove [4] selftests (Yonghong Song)
Stanislav Fomichev (3):
bpf: allow wide (u64) aligned stores for some fields of bpf_sock_addr
bpf: sync bpf.h to tools/
selftests/bpf: add verifier tests for wide stores
include/linux/filter.h | 6 ++++ include/uapi/linux/bpf.h | 6 ++-- net/core/filter.c | 22 +++++++----- tools/include/uapi/linux/bpf.h | 6 ++-- tools/testing/selftests/bpf/test_verifier.c | 17 +++++++-- .../selftests/bpf/verifier/wide_store.c | 36 +++++++++++++++++++ 6 files changed, 76 insertions(+), 17 deletions(-) create mode 100644 tools/testing/selftests/bpf/verifier/wide_store.c
Signature · 1 line
2.22.0.410.gd8fdbe21b5-goog