BPF helper improvements and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf: use skb_pkt_type_ok helper in bpf_skb_change_typenet/ | +2 | 0 replies | |
| 2/4 | bpf: add bpf_skb_change_tail helperinclude/ include/ net/ | +150 | 0 replies | |
| 3/4 | bpf: enable event output helper also for xdp typesnet/ | +41 | 0 replies | |
| 4/4 | bpf: get rid of cgroup helper related ifdefsinclude/ net/ | +11 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | 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/4] BPF helper improvements and cleanups
This set adds various improvements to BPF helpers, a cleanup to use skb_pkt_type_ok() helper, addition of bpf_skb_change_tail(), a follow up for event output helper and removing ifdefs around the cgroupv2 helper bits. For details please see individual patches.
The set is based against net-next tree, but requires a merge of net into net-next first.
Thanks a lot!
Daniel Borkmann (4):
bpf: use skb_pkt_type_ok helper in bpf_skb_change_type
bpf: add bpf_skb_change_tail helper
bpf: enable event output helper also for xdp types
bpf: get rid of cgroup helper related ifdefs
include/linux/skbuff.h | 43 +++++++++++++- include/net/sock.h | 10 ++++ include/uapi/linux/bpf.h | 11 ++++ net/core/filter.c | 152 +++++++++++++++++++++++++++++++++++++++++++---- 4 files changed, 204 insertions(+), 12 deletions(-)
Signature · 1 line
1.9.3