-
- Downloads
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Daniel Borkmann says: ==================== pull-request: bpf 2023-11-08 We've added 16 non-merge commits during the last 6 day(s) which contain a total of 30 files changed, 341 insertions(+), 130 deletions(-). The main changes are: 1) Fix a BPF verifier issue in precision tracking for BPF_ALU | BPF_TO_BE | BPF_END where the source register was incorrectly marked as precise, from Shung-Hsi Yu. 2) Fix a concurrency issue in bpf_timer where the former could still have been alive after an application releases or unpins the map, from Hou Tao. 3) Fix a BPF verifier issue where immediates are incorrectly cast to u32 before being spilled and therefore losing sign information, from Hao Sun. 4) Fix a misplaced BPF_TRACE_ITER in check_css_task_iter_allowlist which incorrectly compared bpf_prog_type with bpf_attach_type, from Chuyi Zhou. 5) Add __bpf_hook_{start,end} as well as __bpf_kfunc_{start,end}_defs macros, migrate all BPF-related __diag callsites over to it, and add a new __diag_ignore_all for -Wmissing-declarations to the macros to address recent build warnings, from Dave Marchevsky. 6) Fix broken BPF selftest build of xdp_hw_metadata test on architectures where char is not signed, from Björn Töpel. 7) Fix test_maps selftest to properly use LIBBPF_OPTS() macro to initialize the bpf_map_create_opts, from Andrii Nakryiko. 8) Fix bpffs selftest to avoid unmounting /sys/kernel/debug as it may have been mounted and used by other applications already, from Manu Bretelle. 9) Fix a build issue without CONFIG_CGROUPS wrt css_task open-coded iterators, from Matthieu Baerts. * tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf: selftests/bpf: get trusted cgrp from bpf_iter__cgroup directly bpf: Let verifier consider {task,cgroup} is trusted in bpf_iter_reg selftests/bpf: Fix broken build where char is unsigned selftests/bpf: precision tracking test for BPF_NEG and BPF_END bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END selftests/bpf: Add test for using css_task iter in sleepable progs selftests/bpf: Add tests for css_task iter combining with cgroup iter bpf: Relax allowlist for css_task iter selftests/bpf: fix test_maps' use of bpf_map_create_opts bpf: Check map->usercnt after timer->timer is assigned bpf: Add __bpf_hook_{start,end} macros bpf: Add __bpf_kfunc_{start,end}_defs macros selftests/bpf: fix test_bpffs selftests/bpf: Add test for immediate spilled to stack bpf: Fix check_stack_write_fixed_off() to correctly spill imm bpf: fix compilation error without CGROUPS ==================== Link: https://lore.kernel.org/r/20231108132448.1970-1-daniel@iogearbox.net Signed-off-by:Jakub Kicinski <kuba@kernel.org>
Showing
- Documentation/bpf/kfuncs.rst 2 additions, 4 deletionsDocumentation/bpf/kfuncs.rst
- include/linux/btf.h 11 additions, 0 deletionsinclude/linux/btf.h
- kernel/bpf/bpf_iter.c 2 additions, 4 deletionskernel/bpf/bpf_iter.c
- kernel/bpf/cgroup_iter.c 3 additions, 5 deletionskernel/bpf/cgroup_iter.c
- kernel/bpf/cpumask.c 2 additions, 4 deletionskernel/bpf/cpumask.c
- kernel/bpf/helpers.c 23 additions, 16 deletionskernel/bpf/helpers.c
- kernel/bpf/map_iter.c 2 additions, 4 deletionskernel/bpf/map_iter.c
- kernel/bpf/task_iter.c 11 additions, 13 deletionskernel/bpf/task_iter.c
- kernel/bpf/verifier.c 27 additions, 6 deletionskernel/bpf/verifier.c
- kernel/cgroup/rstat.c 3 additions, 6 deletionskernel/cgroup/rstat.c
- kernel/trace/bpf_trace.c 2 additions, 4 deletionskernel/trace/bpf_trace.c
- net/bpf/test_run.c 3 additions, 4 deletionsnet/bpf/test_run.c
- net/core/filter.c 4 additions, 9 deletionsnet/core/filter.c
- net/core/xdp.c 2 additions, 4 deletionsnet/core/xdp.c
- net/ipv4/fou_bpf.c 2 additions, 4 deletionsnet/ipv4/fou_bpf.c
- net/netfilter/nf_conntrack_bpf.c 2 additions, 4 deletionsnet/netfilter/nf_conntrack_bpf.c
- net/netfilter/nf_nat_bpf.c 2 additions, 4 deletionsnet/netfilter/nf_nat_bpf.c
- net/socket.c 2 additions, 6 deletionsnet/socket.c
- net/xfrm/xfrm_interface_bpf.c 2 additions, 4 deletionsnet/xfrm/xfrm_interface_bpf.c
- tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c 2 additions, 4 deletionstools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c
Loading
Please register or sign in to comment