lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241014211110.16562-1-daniel@iogearbox.net>
Date: Mon, 14 Oct 2024 23:11:10 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: davem@...emloft.net
Cc: kuba@...nel.org,
	pabeni@...hat.com,
	edumazet@...gle.com,
	daniel@...earbox.net,
	ast@...nel.org,
	andrii@...nel.org,
	martin.lau@...ux.dev,
	netdev@...r.kernel.org,
	bpf@...r.kernel.org
Subject: pull-request: bpf-next 2024-10-14

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

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

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

The main changes are:

1) Put xsk sockets on a struct diet and add various cleanups. Overall, this helps
   to bump performance by 12% for some workloads, from Maciej Fijalkowski.

2) Extend BPF selftests to increase coverage of XDP features in combination
   with BPF cpumap, from Alexis Lothoré (eBPF Foundation).

3) Extend netkit with an option to delegate skb->{mark,priority} scrubbing to
   its BPF program, from Daniel Borkmann.

4) Make the bpf_get_netns_cookie() helper available also to tc(x) BPF programs,
   from Mahe Tardy.

5) Extend BPF selftests covering a BPF program setting socket options per MPTCP
   subflow, from Geliang Tang and Nicolas Rybowski.

Please consider pulling these changes from:

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

Thanks a lot!

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

Jakub Kicinski, Jordan Rife, Magnus Karlsson, Mat Martineau, Matthieu 
Baerts (NGI0), Nikolay Aleksandrov

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

The following changes since commit c824deb1a89755f70156b5cdaf569fca80698719:

  cxgb4: clip_tbl: Fix spelling mistake "wont" -> "won't" (2024-09-27 12:44:08 +0100)

are available in the Git repository at:

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

for you to fetch changes up to e6c4047f5122803f2fe4ab9b1ab7038626e51ec1:

  xsk: Use xsk_buff_pool directly for cq functions (2024-10-14 17:23:49 +0200)

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

----------------------------------------------------------------
Alexis Lothoré (eBPF Foundation) (4):
      selftests/bpf: add missing header include for htons
      selftests/bpf: fix bpf_map_redirect call for cpu map test
      selftests/bpf: make xdp_cpumap_attach keep redirect prog attached
      selftests/bpf: check program redirect in xdp_cpumap_attach

Daniel Borkmann (5):
      netkit: Add option for scrubbing skb meta data
      netkit: Simplify netkit mode over to use NLA_POLICY_MAX
      netkit: Add add netkit scrub support to rt_link.yaml
      tools: Sync if_link.h uapi tooling header
      selftests/bpf: Extend netkit tests to validate skb meta data

Geliang Tang (2):
      selftests/bpf: Add getsockopt to inspect mptcp subflow
      selftests/bpf: Add mptcp subflow subtest

Maciej Fijalkowski (7):
      bpf: Remove unused macro
      xsk: Get rid of xdp_buff_xsk::xskb_list_node
      xsk: s/free_list_node/list_node/
      xsk: Get rid of xdp_buff_xsk::orig_addr
      xsk: Carry a copy of xdp_zc_max_segs within xsk_buff_pool
      xsk: Wrap duplicated code to function
      xsk: Use xsk_buff_pool directly for cq functions

Mahe Tardy (2):
      bpf: add get_netns_cookie helper to tc programs
      selftests/bpf: add tcx netns cookie tests

Martin KaFai Lau (3):
      Merge branch 'selftests/bpf: new MPTCP subflow subtest'
      Merge branch 'netkit: Add option for scrubbing skb meta data'
      Merge branch 'selftests/bpf: add coverage for xdp_features in test_progs'

Nicolas Rybowski (1):
      selftests/bpf: Add mptcp subflow example

 Documentation/netlink/specs/rt_link.yaml           |  15 +
 MAINTAINERS                                        |   2 +-
 drivers/net/netkit.c                               |  91 ++--
 include/net/xdp_sock_drv.h                         |  14 +-
 include/net/xsk_buff_pool.h                        |  23 +-
 include/uapi/linux/if_link.h                       |  15 +
 net/core/filter.c                                  |  17 +-
 net/xdp/xsk.c                                      |  38 +-
 net/xdp/xsk_buff_pool.c                            |  54 +-
 net/xdp/xsk_queue.h                                |   2 +-
 tools/include/uapi/linux/if_link.h                 | 553 ++++++++++++++++++++-
 tools/testing/selftests/bpf/network_helpers.h      |   1 +
 tools/testing/selftests/bpf/prog_tests/mptcp.c     | 121 +++++
 .../selftests/bpf/prog_tests/netns_cookie.c        |  29 +-
 tools/testing/selftests/bpf/prog_tests/tc_netkit.c |  94 +++-
 .../selftests/bpf/prog_tests/xdp_cpumap_attach.c   |  44 +-
 tools/testing/selftests/bpf/progs/mptcp_bpf.h      |  42 ++
 tools/testing/selftests/bpf/progs/mptcp_subflow.c  | 128 +++++
 .../selftests/bpf/progs/netns_cookie_prog.c        |  10 +
 tools/testing/selftests/bpf/progs/test_tc_link.c   |  12 +
 .../bpf/progs/test_xdp_with_cpumap_helpers.c       |   7 +-
 21 files changed, 1185 insertions(+), 127 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/mptcp_bpf.h
 create mode 100644 tools/testing/selftests/bpf/progs/mptcp_subflow.c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ