Skip to contentSkip to conversation

pull-request: bpf 2021-10-07

DISCUSSION Applied Daniel Borkmann 2 participants 2 messages Oct 7, 2021

Subsystems (3)
lore
Share & tools
lore

Daniel Borkmann

author maintainer
#0 lore raw

Hi David, hi Jakub,

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

We've added 7 non-merge commits during the last 8 day(s) which contain a total of 8 files changed, 38 insertions(+), 21 deletions(-).

The main changes are:

1) Fix ARM BPF JIT to preserve caller-saved regs for DIV/MOD JIT-internal helper call, from Johan Almbladh.

2) Fix integer overflow in BPF stack map element size calculation when used with preallocation, from Tatsuhiko Yasumatsu.

3) Fix an AF_UNIX regression due to added BPF sockmap support related to shutdown handling, from Jiang Wang.

4) Fix a segfault in libbpf when generating light skeletons from objects without BTF, from Kumar Kartikeya Dwivedi.

5) Fix a libbpf memory leak in strset to free the actual struct strset itself, from Andrii Nakryiko.

6) Dual-license bpf_insn.h similarly as we did for libbpf and bpftool, with ACKs from all contributors, from Luca Boccassi.

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, Björn Töpel, Brendan Jackman, Casey Schaufler, Chenbo Feng, Daniel Borkmann, Daniel Mack, Joe Stringer, Josef Bacik, Magnus Karlsson, Martin KaFai Lau, Simon Horman, Song Liu, Toke Høiland-Jørgensen

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

The following changes since commit 4ccb9f03fee7b20484187ba7e25a7b9b79fe63d5:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (2021-09-28 13:52:46 +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 d0c6416bd7091647f6041599f396bfa19ae30368:

unix: Fix an issue in unix_shutdown causing the other end read/write failures (2021-10-06 14:40:21 +0200)

----------------------------------------------------------------
Andrii Nakryiko (1):
libbpf: Fix memory leak in strset

Jiang Wang (1):
unix: Fix an issue in unix_shutdown causing the other end read/write failures

Johan Almbladh (1):
bpf, arm: Fix register clobbering in div/mod implementation

Kumar Kartikeya Dwivedi (2):
samples: bpf: Fix vmlinux.h generation for XDP samples
libbpf: Fix segfault in light skeleton for objects without BTF

Luca Boccassi (1):
samples/bpf: Relicense bpf_insn.h as GPL-2.0-only OR BSD-2-Clause

Tatsuhiko Yasumatsu (1):
bpf: Fix integer overflow in prealloc_elems_and_freelist()

 arch/arm/net/bpf_jit_32.c                | 19 +++++++++++++++++++
 kernel/bpf/stackmap.c                    |  3 ++-
 net/unix/af_unix.c                       |  9 +++++----
 samples/bpf/Makefile                     | 17 ++++++++---------
 samples/bpf/bpf_insn.h                   |  2 +-
 samples/bpf/xdp_redirect_map_multi.bpf.c |  5 -----
 tools/lib/bpf/libbpf.c                   |  3 ++-
 tools/lib/bpf/strset.c                   |  1 +
 8 files changed, 38 insertions(+), 21 deletions(-)
#1 lore raw
This pull request was applied to netdev/net.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This pull request was applied to netdev/net.git (master) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Thu, 7 Oct 2021 15:50:10 +0200 you wrote:

Hi David, hi Jakub,

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

We've added 7 non-merge commits during the last 8 day(s) which contain a total of 8 files changed, 38 insertions(+), 21 deletions(-).

[...]

Here is the summary with links:
- pull-request: bpf 2021-10-07

    https://git.kernel.org/netdev/net/c/7671b026bb38

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html