Skip to content

BPF updates

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6bpf: add new arg_type that allows for 0 sized stack bufferinclude/linux/bpf.h kernel/bpf/verifier.c+33 -100 replies
2/6bpf: add generic bpf_csum_diff helperinclude/uapi/linux/bpf.h net/core/filter.c+64 -00 replies
3/6bpf: remove artificial bpf_skb_{load,store}_bytes buffer limitationnet/core/filter.c+14 -130 replies
4/6bpf: try harder on clones when writing into skbinclude/linux/skbuff.h net/core/filter.c net/sched/act_csum.c +1 more+24 -280 replies
5/6bpf: fix csum update in bpf_l4_csum_replace helper for udpinclude/uapi/linux/bpf.h net/core/filter.c+8 -10 replies
6/6bpf: don't emit mov A,A on returnnet/core/filter.c+6 -40 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchAlexei Starovoitov
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] BPF updates

This set contains various updates for eBPF, i.e. the addition of a generic csum helper function and other misc bits that mostly improve existing helpers and ease programming with eBPF on cls_bpf. For more details, please see individual patches.

Set is rebased on top of http://patchwork.ozlabs.org/patch/584465/.

Thanks!

Daniel Borkmann (6):
bpf: add new arg_type that allows for 0 sized stack buffer
bpf: add generic bpf_csum_diff helper
bpf: remove artificial bpf_skb_{load,store}_bytes buffer limitation
bpf: try harder on clones when writing into skb
bpf: fix csum update in bpf_l4_csum_replace helper for udp
bpf: don't emit mov A,A on return

 include/linux/bpf.h      |   1 +
 include/linux/skbuff.h   |   7 ++++
 include/uapi/linux/bpf.h |  12 ++++++
 kernel/bpf/verifier.c    |  42 ++++++++++++++-----
 net/core/filter.c        | 103 ++++++++++++++++++++++++++++++++++++++---------
 net/sched/act_csum.c     |   8 +---
 net/sched/act_nat.c      |  18 +++------
 7 files changed, 142 insertions(+), 49 deletions(-)
Signature · 1 line
1.9.3