mbox series

pull-request: bpf 2023-10-11

Message ID 20231010223610.3984-1-daniel@iogearbox.net (mailing list archive)
State Accepted
Commit ad98426a88aa8b982b4785760bc56970b3f58281
Headers show
Series pull-request: bpf 2023-10-11 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Checks

Context Check Description
netdev/tree_selection success Pull request for net
netdev/build_32bit success Errors and warnings before: 1363 this patch: 1363
netdev/build_clang success Errors and warnings before: 1387 this patch: 1387
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 1387 this patch: 1387

Message

Daniel Borkmann Oct. 10, 2023, 10:36 p.m. UTC
Hi David, hi Jakub, hi Paolo, hi Eric,

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

We've added 14 non-merge commits during the last 5 day(s) which contain
a total of 12 files changed, 398 insertions(+), 104 deletions(-).

The main changes are:

1) Fix s390 JIT backchain issues in the trampoline code generation which
   previously clobbered the caller's backchain, from Ilya Leoshkevich.

2) Fix zero-size allocation warning in xsk sockets when the configured ring
   size was close to SIZE_MAX, from Andrew Kanner.

3) Fixes for bpf_mprog API that were found when implementing support in the
   ebpf-go library along with selftests, from Daniel Borkmann and Lorenz Bauer.

4) Fix riscv JIT to properly sign-extend the return register in programs.
   This fixes various test_progs selftests on riscv, from Björn Töpel.

5) Fix verifier log for async callback return values where the allowed range
   was displayed incorrectly, from David Vernet.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Thanks a lot!

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

Lorenz Bauer, Magnus Karlsson, Martin KaFai Lau, Song Liu

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

The following changes since commit c4d49196ceec80e30e8d981410d73331b49b7850:

  net: sched: cls_u32: Fix allocation size in u32_init() (2023-10-06 11:43:05 +0100)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

for you to fetch changes up to 5356ba1ff4f2417e1aebcf99aab35c1ea94dd6d7:

  s390/bpf: Fix unwinding past the trampoline (2023-10-11 00:08:46 +0200)

----------------------------------------------------------------
bpf-for-netdev

----------------------------------------------------------------
Andrew Kanner (1):
      xdp: Fix zero-size allocation warning in xskq_create()

Björn Töpel (2):
      riscv, bpf: Sign-extend return values
      riscv, bpf: Track both a0 (RISC-V ABI) and a5 (BPF) return values

Daniel Borkmann (6):
      bpf: Fix BPF_PROG_QUERY last field check
      bpf: Handle bpf_mprog_query with NULL entry
      selftests/bpf: Test bpf_mprog query API via libbpf and raw syscall
      selftests/bpf: Adapt assert_mprog_count to always expect 0 count
      selftests/bpf: Test query on empty mprog and pass revision into attach
      selftests/bpf: Make seen_tc* variable tests more robust

David Vernet (2):
      bpf: Fix verifier log for async callback return values
      selftests/bpf: Add testcase for async callback return value failure

Ilya Leoshkevich (2):
      s390/bpf: Fix clobbering the caller's backchain in the trampoline
      s390/bpf: Fix unwinding past the trampoline

Lorenz Bauer (1):
      bpf: Refuse unused attributes in bpf_prog_{attach,detach}

 arch/riscv/net/bpf_jit_comp64.c                    |  18 +-
 arch/s390/net/bpf_jit_comp.c                       |  25 +-
 kernel/bpf/mprog.c                                 |  10 +-
 kernel/bpf/syscall.c                               |  21 +-
 kernel/bpf/tcx.c                                   |   8 +-
 kernel/bpf/verifier.c                              |   6 +-
 net/xdp/xsk_queue.c                                |  10 +
 .../testing/selftests/bpf/prog_tests/tc_helpers.h  |  16 +-
 tools/testing/selftests/bpf/prog_tests/tc_links.c  |  64 ++---
 tools/testing/selftests/bpf/prog_tests/tc_opts.c   | 271 +++++++++++++++++++--
 tools/testing/selftests/bpf/prog_tests/timer.c     |   6 +-
 tools/testing/selftests/bpf/progs/timer_failure.c  |  47 ++++
 12 files changed, 398 insertions(+), 104 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/timer_failure.c

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 11, 2023, 3:10 a.m. UTC | #1
Hello:

This pull request was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 11 Oct 2023 00:36:10 +0200 you wrote:
> Hi David, hi Jakub, hi Paolo, hi Eric,
> 
> The following pull-request contains BPF updates for your *net* tree.
> 
> We've added 14 non-merge commits during the last 5 day(s) which contain
> a total of 12 files changed, 398 insertions(+), 104 deletions(-).
> 
> [...]

Here is the summary with links:
  - pull-request: bpf 2023-10-11
    https://git.kernel.org/netdev/net/c/ad98426a88aa

You are awesome, thank you!