pull-request: bpf-next 2022-07-29

[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-next* tree.

We've added 22 non-merge commits during the last 4 day(s) which contain
a total of 27 files changed, 763 insertions(+), 120 deletions(-).

The main changes are:

1) Fixes to allow setting any source IP with bpf_skb_set_tunnel_key() helper,
   from Paul Chaignon.

2) Fix for bpf_xdp_pointer() helper when doing sanity checking, from Joanne Koong.

3) Fix for XDP frame length calculation, from Lorenzo Bianconi.

4) Libbpf BPF_KSYSCALL docs improvements and fixes to selftests to accommodate
   s390x quirks with socketcall(), from Ilya Leoshkevich.

5) Allow/denylist and CI configs additions to selftests/bpf to improve BPF CI,
   from Daniel Müller.

6) BPF trampoline + ftrace follow up fixes, from Song Liu and Xu Kuohai.

7) Fix allocation warnings in netdevsim, from Jakub Kicinski.

8) bpf_obj_get_opts() libbpf API allowing to provide file flags, from Joe Burton.

9) vsnprintf usage fix in bpf_snprintf_btf(), from Fedor Tokarev.

10) Various small fixes and clean ups, from Daniel Müller, Rongguang Wei,
    Jörn-Thorben Hinz, Yang Li.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git

Thanks a lot!

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

Abaci Robot, Alan Maguire, Andrii Nakryiko, Bruno Goncalves, Jiri Olsa, 
Lorenzo Bianconi, Martin KaFai Lau, Mykola Lysenko, Nikolay Aleksandrov, 
Quentin Monnet, Song Liu, Yonghong Song

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

The following changes since commit 8e4372e617854a16d4ec549ba821aad78fd748a6:

  Merge branch 'add-mtu-change-with-stmmac-interface-running' (2022-07-25 19:39:36 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git 

for you to fetch changes up to 14250fa4839b3a48c979e7faaf4cbcce619d02bd:

  bpf: Remove unneeded semicolon (2022-07-29 15:34:11 -0700)

----------------------------------------------------------------
Daniel Müller (5):
      selftests/bpf: Sort configuration
      selftests/bpf: Copy over libbpf configs
      selftests/bpf: Adjust vmtest.sh to use local kernel configuration
      libbpf: Support PPC in arch_specific_syscall_pfx
      selftests/bpf: Bump internal send_signal/send_signal_tracepoint timeout

Fedor Tokarev (1):
      bpf: btf: Fix vsnprintf return value check

Ilya Leoshkevich (2):
      libbpf: Extend BPF_KSYSCALL documentation
      selftests/bpf: Attach to socketcall() in test_probe_user

Jakub Kicinski (1):
      netdevsim: Avoid allocation warnings triggered from user space

Joanne Koong (1):
      bpf: Fix bpf_xdp_pointer return pointer

Joe Burton (1):
      libbpf: Add bpf_obj_get_opts()

Jörn-Thorben Hinz (1):
      bpftool: Don't try to return value from void function in skeleton

Lorenzo Bianconi (1):
      bpf, devmap: Compute proper xdp_frame len redirecting frames

Paul Chaignon (5):
      ip_tunnels: Add new flow flags field to ip_tunnel_key
      vxlan: Use ip_tunnel_key flow flags in route lookups
      geneve: Use ip_tunnel_key flow flags in route lookups
      bpf: Set flow flag to allow any source IP in bpf_tunnel_key
      selftests/bpf: Don't assign outer source IP to host

Rongguang Wei (1):
      bpftool: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE macro

Song Liu (1):
      bpf: Fix test_progs -j error with fentry/fexit tests

Xu Kuohai (1):
      bpf: Fix NULL pointer dereference when registering bpf trampoline

Yang Li (1):
      bpf: Remove unneeded semicolon

 drivers/net/geneve.c                               |   1 +
 drivers/net/netdevsim/bpf.c                        |   8 +-
 drivers/net/vxlan/vxlan_core.c                     |  11 +-
 include/net/ip_tunnels.h                           |   1 +
 kernel/bpf/btf.c                                   |   2 +-
 kernel/bpf/devmap.c                                |   4 +-
 kernel/bpf/trampoline.c                            |   9 +-
 net/core/filter.c                                  |   3 +-
 tools/bpf/bpftool/gen.c                            |   2 +-
 tools/bpf/bpftool/prog.c                           |   2 +-
 tools/lib/bpf/bpf.c                                |   9 +
 tools/lib/bpf/bpf.h                                |  11 +
 tools/lib/bpf/bpf_tracing.h                        |  15 +-
 tools/lib/bpf/libbpf.c                             |  11 +-
 tools/lib/bpf/libbpf.map                           |   1 +
 tools/testing/selftests/bpf/DENYLIST               |   6 +
 tools/testing/selftests/bpf/DENYLIST.s390x         |  67 ++++++
 tools/testing/selftests/bpf/config                 |  99 ++++----
 tools/testing/selftests/bpf/config.s390x           | 147 ++++++++++++
 tools/testing/selftests/bpf/config.x86_64          | 251 +++++++++++++++++++++
 .../testing/selftests/bpf/prog_tests/probe_user.c  |  35 ++-
 .../testing/selftests/bpf/prog_tests/send_signal.c |   2 +-
 .../testing/selftests/bpf/prog_tests/test_tunnel.c |  17 +-
 .../testing/selftests/bpf/progs/test_probe_user.c  |  29 ++-
 .../testing/selftests/bpf/progs/test_tunnel_kern.c |  80 ++++++-
 tools/testing/selftests/bpf/test_progs.c           |   7 +-
 tools/testing/selftests/bpf/vmtest.sh              |  53 +++--
 27 files changed, 763 insertions(+), 120 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/DENYLIST
 create mode 100644 tools/testing/selftests/bpf/DENYLIST.s390x
 create mode 100644 tools/testing/selftests/bpf/config.s390x
 create mode 100644 tools/testing/selftests/bpf/config.x86_64



[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