Skip to content

bpf: fix several bugs

Alexei Starovoitov netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bpf: fix refcnt overflowinclude/linux/bpf.h kernel/bpf/inode.c kernel/bpf/syscall.c +1 more+33 -120 replies
2/3bpf: fix check_map_func_compatibility logickernel/bpf/verifier.c+40 -251 reply
3/3samples/bpf: fix trace_output examplesamples/bpf/trace_output_kern.c+0 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchDaniel Borkmann
1/3A-b
2/3
3/3

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 0/3] bpf: fix several bugs

First two patches address bugs found by Jann Horn. Last patch is a minor samples fix spotted during the testing.

Alexei Starovoitov (3):
bpf: fix refcnt overflow
bpf: fix check_map_func_compatibility logic
samples/bpf: fix trace_output example

 include/linux/bpf.h             |  3 +-
 kernel/bpf/inode.c              |  7 ++--
 kernel/bpf/syscall.c            | 24 ++++++++++---
 kernel/bpf/verifier.c           | 76 +++++++++++++++++++++++++----------------
 samples/bpf/trace_output_kern.c |  1 -
 5 files changed, 73 insertions(+), 38 deletions(-)
Signature · 1 line
2.8.0