Skip to contentSkip to conversation

pull-request: bpf 2023-12-06

DISCUSSION Applied Daniel Borkmann 2 participants 2 messages Dec 6, 2023 – Dec 7, 2023

Subsystems (3)
lore
Share & tools
lore

Daniel Borkmann

author maintainer
#0 lore raw

Hi David, hi Jakub, hi Paolo, hi Eric,

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

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

The main changes are:

1) Fix race found by syzkaller on prog_array_map_poke_run when a BPF program's kallsym symbols were still missing, from Jiri Olsa.

2) Fix BPF verifier's branch offset comparison for BPF_JMP32 | BPF_JA, from Yonghong Song.

3) Fix xsk's poll handling to only set mask on bound xsk sockets, from Yewon Choi.

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:

Ilya Leoshkevich, Magnus Karlsson, Yonghong Song

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

The following changes since commit 830139e7b6911266a84a77e1f18abf758995cc89:

octeontx2-af: Check return value of nix_get_nixlf before using nixlf (2023-12-01 12:19:02 +0000)

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 ffed24eff9e0e52d8e74df1c18db8ed43b4666e6:

selftests/bpf: Add test for early update in prog_array_map_poke_run (2023-12-06 22:40:43 +0100)

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

----------------------------------------------------------------
Jiri Olsa (2):
bpf: Fix prog_array_map_poke_run map poke update selftests/bpf: Add test for early update in prog_array_map_poke_run

Yewon Choi (1):
xsk: Skip polling event check for unbound socket

Yonghong Song (1):
bpf: Fix a verifier bug due to incorrect branch offset comparison with cpu=v4

 arch/x86/net/bpf_jit_comp.c                        | 46 ++++++++++++
 include/linux/bpf.h                                |  3 +
 kernel/bpf/arraymap.c                              | 58 +++------------
 kernel/bpf/core.c                                  | 12 ++--
 net/xdp/xsk.c                                      |  5 +-
 tools/testing/selftests/bpf/prog_tests/tailcalls.c | 84 ++++++++++++++++++++++
 tools/testing/selftests/bpf/progs/tailcall_poke.c  | 32 +++++++++
 7 files changed, 185 insertions(+), 55 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/tailcall_poke.c
#1 lore raw
This pull request was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

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

Quoted 8 lines · On Wed, 6 Dec 2023 23:05:28 +0100 you wrote:

Hi David, hi Jakub, hi Paolo, hi Eric,

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

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

[...]

Here is the summary with links:
- pull-request: bpf 2023-12-06

    https://git.kernel.org/netdev/net/c/c85e5594b745

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html