bpf improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: allow helpers access the packet directlykernel/ | +43 | 0 replies | |
| 2/3 | samples/bpf: add verifier tests for the helper access to the packetsamples/ | +110 | 0 replies | |
| 3/3 | bpf: allow bpf_get_prandom_u32() to be used in tracingkernel/ | +2 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Borkmann |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] bpf improvements
Two bpf improvements:
1. allow bpf helpers like bpf_map_lookup_elem() access packet data directly for XDP programs
2. enable bpf_get_prandom_u32() for tracing programs
Aaron Yue (1):
samples/bpf: add verifier tests for the helper access to the packet
Alexei Starovoitov (2):
bpf: allow helpers access the packet directly
bpf: allow bpf_get_prandom_u32() to be used in tracing
kernel/bpf/verifier.c | 61 +++++++++++++++++------- kernel/trace/bpf_trace.c | 2 + samples/bpf/test_verifier.c | 114 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 155 insertions(+), 22 deletions(-)
Signature · 1 line
2.8.0