pull-request: bpf 2024-07-25

[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 14 non-merge commits during the last 8 day(s) which contain
a total of 19 files changed, 177 insertions(+), 70 deletions(-).

The main changes are:

1) Fix af_unix to disable MSG_OOB handling for sockets in BPF sockmap and
   BPF sockhash. Also add test coverage for this case, from Michal Luczaj.

2) Fix a segmentation issue when downgrading gso_size in the BPF helper
   bpf_skb_adjust_room(), from Fred Li.

3) Fix a compiler warning in resolve_btfids due to a missing type cast,
   from Liwei Song.

4) Fix stack allocation for arm64 to align the stack pointer at a 16 byte
   boundary in the fexit_sleep BPF selftest, from Puranjay Mohan.

5) Fix a xsk regression to require a flag when actuating tx_metadata_len,
   from Stanislav Fomichev.

6) Fix function prototype BTF dumping in libbpf for prototypes that have
   no input arguments, from Andrii Nakryiko.

7) Fix stacktrace symbol resolution in perf script for BPF programs
   containing subprograms, from Hou Tao.

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:

Christophe Leroy, Daniel Borkmann, Hari Bathini, Jakub Sitnicki, Jiri 
Olsa, Julian Schindel, Krister Johansen, Kuniyuki Iwashima, Maciej 
Fijalkowski, Masami Hiramatsu (Google), Quentin Monnet, Stanislav 
Fomichev, Tejun Heo, Willem de Bruijn, Yonghong Song

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

The following changes since commit 0e03c643dc9389e61fa484562dae58c8d6e96d63:

  eth: fbnic: fix s390 build. (2024-07-17 06:25:14 -0700)

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 9b9969c40b0d63a8fca434d4ea01c60a39699aa3:

  selftests/bpf: Add XDP_UMEM_TX_METADATA_LEN to XSK TX metadata test (2024-07-25 11:57:33 +0200)

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

----------------------------------------------------------------
Andrii Nakryiko (1):
      libbpf: Fix no-args func prototype BTF dumping syntax

Donald Hunter (1):
      bpftool: Fix typo in usage help

Fred Li (1):
      bpf: Fix a segment issue when downgrading gso_size

Hou Tao (1):
      bpf, events: Use prog to emit ksymbol event for main program

Liwei Song (1):
      tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids

Michal Luczaj (4):
      af_unix: Disable MSG_OOB handling for sockets in sockmap/sockhash
      selftests/bpf: Support SOCK_STREAM in unix_inet_redir_to_connected()
      selftests/bpf: Parametrize AF_UNIX redir functions to accept send() flags
      selftests/bpf: Test sockmap redirect for AF_UNIX MSG_OOB

Naveen N Rao (2):
      MAINTAINERS: Update email address of Naveen
      MAINTAINERS: Update powerpc BPF JIT maintainers

Puranjay Mohan (1):
      selftests/bpf: fexit_sleep: Fix stack allocation for arm64

Stanislav Fomichev (2):
      xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len
      selftests/bpf: Add XDP_UMEM_TX_METADATA_LEN to XSK TX metadata test

 .mailmap                                           |  2 +
 Documentation/networking/xsk-tx-metadata.rst       | 16 ++--
 MAINTAINERS                                        |  8 +-
 include/uapi/linux/if_xdp.h                        |  4 +
 kernel/events/core.c                               | 28 ++++---
 net/core/filter.c                                  | 15 +++-
 net/unix/af_unix.c                                 | 41 ++++++++++-
 net/unix/unix_bpf.c                                |  3 +
 net/xdp/xdp_umem.c                                 |  9 ++-
 tools/bpf/bpftool/prog.c                           |  2 +-
 tools/bpf/resolve_btfids/main.c                    |  2 +-
 tools/include/uapi/linux/if_xdp.h                  |  4 +
 tools/lib/bpf/btf_dump.c                           |  8 +-
 tools/testing/selftests/bpf/DENYLIST.aarch64       |  1 -
 .../testing/selftests/bpf/prog_tests/fexit_sleep.c |  8 +-
 .../selftests/bpf/prog_tests/sockmap_listen.c      | 85 +++++++++++++++-------
 .../selftests/bpf/prog_tests/xdp_metadata.c        |  3 +-
 .../bpf/progs/btf_dump_test_case_multidim.c        |  4 +-
 .../bpf/progs/btf_dump_test_case_syntax.c          |  4 +-
 19 files changed, 177 insertions(+), 70 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