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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241031221543.108853-1-daniel@iogearbox.net>
Date: Thu, 31 Oct 2024 23:15:43 +0100
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-31

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

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

We've added 13 non-merge commits during the last 16 day(s) which contain
a total of 16 files changed, 710 insertions(+), 668 deletions(-).

There's a small merge conflict between f91b256644ea ("selftests/bpf: Add
test for kfunc module order") in net-next tree and c3566ee6c66c
("selftests/bpf: remove test_tcp_check_syncookie") from bpf-next/net.

Resolve as follows in tools/testing/selftests/bpf/Makefile so that end
result looks like:

 # Compile but not part of 'make run_tests'
 TEST_GEN_PROGS_EXTENDED = \
	bench \
	bpf_testmod.ko \
	bpf_test_modorder_x.ko \
	bpf_test_modorder_y.ko \
	bpf_test_no_cfi.ko \
	flow_dissector_load \
	runqslower \
	test_cpp \
	test_flow_dissector \
	test_lirc_mode2_user \
	veristat \
	xdp_features \
	xdp_hw_metadata \
	xdp_redirect_multi \
	xdp_synproxy \
	xdping \
	xskxceiver

The main changes are:

1) Optimize and homogenize bpf_csum_diff helper for all archs and also
   add a batch of new BPF selftests for it, from Puranjay Mohan.

2) Rewrite and migrate the test_tcp_check_syncookie.sh BPF selftest
   into test_progs so that it can be run in BPF CI, from Alexis Lothoré.

3) Two BPF sockmap selftest fixes, from Zijian Zhang.

4) Small XDP synproxy BPF selftest cleanup to remove IP_DF check,
   from Vincent Li.

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:

Daniel Borkmann, John Fastabend, Toke Høiland-Jørgensen

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

The following changes since commit 4a6f05d9fe8adb25dff35ca6cbd707efeda4d527:

  Merge tag 'batadv-next-pullrequest-20241015' of git://git.open-mesh.org/linux-merge (2024-10-15 15:28:17 +0200)

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 00c1f3dc66a38cf65c3cfd0cb4fe7acfc7f60e37:

  selftests/bpf: Add a selftest for bpf_csum_diff() (2024-10-30 15:29:59 +0100)

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

----------------------------------------------------------------
Alexis Lothoré (eBPF Foundation) (6):
      selftests/bpf: factorize conn and syncookies tests in a single runner
      selftests/bpf: add missing ns cleanups in btf_skc_cls_ingress
      selftests/bpf: get rid of global vars in btf_skc_cls_ingress
      selftests/bpf: add ipv4 and dual ipv4/ipv6 support in btf_skc_cls_ingress
      selftests/bpf: test MSS value returned with bpf_tcp_gen_syncookie
      selftests/bpf: remove test_tcp_check_syncookie

Martin KaFai Lau (2):
      Merge branch 'Two fixes for test_sockmap'
      Merge branch 'selftests/bpf: integrate test_tcp_check_syncookie.sh into test_progs'

Puranjay Mohan (4):
      net: checksum: Move from32to16() to generic header
      bpf: bpf_csum_diff: Optimize and homogenize for all archs
      selftests/bpf: Don't mask result of bpf_csum_diff() in test_verifier
      selftests/bpf: Add a selftest for bpf_csum_diff()

Vincent Li (1):
      selftests/bpf: remove xdp_synproxy IP_DF check

Zijian Zhang (2):
      selftests/bpf: Fix msg_verify_data in test_sockmap
      selftests/bpf: Fix txmsg_redir of test_txmsg_pull in test_sockmap

 arch/parisc/lib/checksum.c                         |  13 +-
 include/net/checksum.h                             |   6 +
 lib/checksum.c                                     |  11 +-
 net/core/filter.c                                  |  39 +-
 tools/testing/selftests/bpf/.gitignore             |   1 -
 tools/testing/selftests/bpf/Makefile               |   9 +-
 .../selftests/bpf/prog_tests/btf_skc_cls_ingress.c | 264 +++++++------
 .../selftests/bpf/prog_tests/test_csum_diff.c      | 408 +++++++++++++++++++++
 tools/testing/selftests/bpf/progs/csum_diff_test.c |  42 +++
 .../selftests/bpf/progs/test_btf_skc_cls_ingress.c |  82 +++--
 .../bpf/progs/test_tcp_check_syncookie_kern.c      | 167 ---------
 .../selftests/bpf/progs/verifier_array_access.c    |   3 +-
 .../selftests/bpf/progs/xdp_synproxy_kern.c        |   3 +-
 tools/testing/selftests/bpf/test_sockmap.c         |  32 +-
 .../selftests/bpf/test_tcp_check_syncookie.sh      |  85 -----
 .../selftests/bpf/test_tcp_check_syncookie_user.c  | 213 -----------
 16 files changed, 710 insertions(+), 668 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/test_csum_diff.c
 create mode 100644 tools/testing/selftests/bpf/progs/csum_diff_test.c
 delete mode 100644 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c
 delete mode 100755 tools/testing/selftests/bpf/test_tcp_check_syncookie.sh
 delete mode 100644 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ