pull-request: bpf 2023-12-06

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

 



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




[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