Skip to content

Minor BPF cleanups and digest

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bpf: remove type arg from __is_valid_{,xdp_}accessnet/core/filter.c+6 -90 replies
2/3bpf, cls: consolidate prog deletion pathnet/sched/cls_bpf.c+13 -170 replies
3/3bpf: add prog_digest and expose it via fdinfo/netlinkinclude/linux/bpf.h include/linux/filter.h include/uapi/linux/pkt_cls.h +6 more+116 -20 replies

Reviews trailers per patch

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

PatchAlexei Starovoitov
1/3A-b
2/3A-b
3/3A-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/3] Minor BPF cleanups and digest

First two patches are minor cleanups, and the third one adds a prog digest. For details, please see individual patches. After this one, I have a set with tracepoint support that makes use of this facility as well.

Thanks!

Daniel Borkmann (3):
bpf: remove type arg from __is_valid_{,xdp_}access bpf, cls: consolidate prog deletion path
bpf: add prog_digest and expose it via fdinfo/netlink

 include/linux/bpf.h                |  1 +
 include/linux/filter.h             |  7 +++-
 include/uapi/linux/pkt_cls.h       |  1 +
 include/uapi/linux/tc_act/tc_bpf.h |  1 +
 kernel/bpf/core.c                  | 65 ++++++++++++++++++++++++++++++++++++++
 kernel/bpf/syscall.c               | 24 +++++++++++++-
 kernel/bpf/verifier.c              |  2 ++
 net/core/filter.c                  | 15 ++++-----
 net/sched/act_bpf.c                |  9 ++++++
 net/sched/cls_bpf.c                | 38 ++++++++++++----------
 10 files changed, 135 insertions(+), 28 deletions(-)
Signature · 1 line
1.9.3