pull-request: bpf 2021-09-28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David, hi Jakub,

The following pull-request contains BPF updates for your *net* tree.

We've added 10 non-merge commits during the last 14 day(s) which contain
a total of 11 files changed, 139 insertions(+), 53 deletions(-).

The main changes are:

1) Fix MIPS JIT jump code emission for too large offsets, from Piotr Krysiuk.

2) Fix x86 JIT atomic/fetch emission when dst reg maps to rax, from Johan Almbladh.

3) Fix cgroup_sk_alloc corner case when called from interrupt, from Daniel Borkmann.

4) Fix segfault in libbpf's linker for objects without BTF, from Kumar Kartikeya Dwivedi.

5) Fix bpf_jit_charge_modmem for applications with CAP_BPF, from Lorenz Bauer.

6) Fix return value handling for struct_ops BPF programs, from Hou Tao.

7) Various fixes to BPF selftests, from Jiri Benc.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

Alexei Starovoitov, Brendan Jackman, Johan Almbladh, Martin KaFai Lau, 
Tejun Heo

----------------------------------------------------------------

The following changes since commit d198b27762644c71362e43a7533f89c92b115bcf:

  Revert "Revert "ipv4: fix memory leaks in ip_cmsg_send() callers"" (2021-09-14 14:24:31 +0100)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git 

for you to fetch changes up to ced185824c89b60e65b5a2606954c098320cdfb8:

  bpf, x86: Fix bpf mapping of atomic fetch implementation (2021-09-28 12:10:29 +0200)

----------------------------------------------------------------
Daniel Borkmann (2):
      bpf, cgroup: Assign cgroup in cgroup_sk_alloc when called from interrupt
      bpf, test, cgroup: Use sk_{alloc,free} for test cases

Dave Marchevsky (1):
      MAINTAINERS: Add btf headers to BPF

Hou Tao (1):
      bpf: Handle return value of BPF_PROG_TYPE_STRUCT_OPS prog

Jiri Benc (2):
      selftests, bpf: Fix makefile dependencies on libbpf
      selftests, bpf: test_lwt_ip_encap: Really disable rp_filter

Johan Almbladh (1):
      bpf, x86: Fix bpf mapping of atomic fetch implementation

Kumar Kartikeya Dwivedi (1):
      libbpf: Fix segfault in static linker for objects without BTF

Lorenz Bauer (1):
      bpf: Exempt CAP_BPF from checks against bpf_jit_limit

Piotr Krysiuk (1):
      bpf, mips: Validate conditional branch offsets

 MAINTAINERS                                      |  2 +
 arch/mips/net/bpf_jit.c                          | 57 +++++++++++++++-----
 arch/x86/net/bpf_jit_comp.c                      | 66 +++++++++++++++++-------
 include/linux/bpf.h                              |  3 +-
 kernel/bpf/bpf_struct_ops.c                      |  7 ++-
 kernel/bpf/core.c                                |  2 +-
 kernel/cgroup/cgroup.c                           | 17 ++++--
 net/bpf/test_run.c                               | 14 +++--
 tools/lib/bpf/linker.c                           |  8 ++-
 tools/testing/selftests/bpf/Makefile             |  3 +-
 tools/testing/selftests/bpf/test_lwt_ip_encap.sh | 13 +++--
 11 files changed, 139 insertions(+), 53 deletions(-)



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux