bpf: Add hwtstamp field for the sockops prog
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesApplied 3/3
- v13 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Fixed the btf_dump selftest which depends on the last member of 'struct bpf_sock_ops'.
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: Add hwtstamp field for the sockops proginclude/ net/ tools/ | +33 | 0 replies | Applied |
| 2/3 | selftests/bpf: Fix incorrect ASSERT in the tcp_hdr_options testtools/ | +2 | 1 reply | Applied |
| 3/3 | selftests/bpf: Test skops->skb_hwtstamptools/ tools/ tools/ | +8 | 0 replies | Applied |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Yonghong Song | Wang Yufen |
|---|---|---|
| Series | A-b | |
| 1/3 | ||
| 2/3 | A-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 bpf-next 0/3] bpf: Add hwtstamp field for the sockops prog
From: Martin KaFai Lau <[email protected]>
The bpf-tc prog has already been able to access the skb_hwtstamps(skb)->hwtstamp. This set extends the same hwtstamp access to the sockops prog.
v2:
- Fixed the btf_dump selftest which depends on the last member of 'struct bpf_sock_ops'.
Martin KaFai Lau (3):
bpf: Add hwtstamp field for the sockops prog selftests/bpf: Fix incorrect ASSERT in the tcp_hdr_options test selftests/bpf: Test skops->skb_hwtstamp
include/uapi/linux/bpf.h | 1 + net/core/filter.c | 39 +++++++++++++++---- tools/include/uapi/linux/bpf.h | 1 + .../selftests/bpf/prog_tests/btf_dump.c | 4 +- .../bpf/prog_tests/tcp_hdr_options.c | 6 ++- .../bpf/progs/test_misc_tcp_hdr_options.c | 4 ++ 6 files changed, 43 insertions(+), 12 deletions(-)
Signature · 1 line
2.30.2