mbox series

pull-request: bpf-next 2024-08-23

Message ID 20240823134959.1091-1-daniel@iogearbox.net (mailing list archive)
State Accepted
Commit e540e3bcf2a26e02cf2d6295a38773c1e415e375
Headers show
Series pull-request: bpf-next 2024-08-23 | expand

Pull-request

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

Checks

Context Check Description
netdev/tree_selection success Pull request for net-next, async
netdev/build_32bit success Errors and warnings before: 225 this patch: 225
netdev/build_tools success Errors and warnings before: 1 this patch: 1
netdev/build_clang success Errors and warnings before: 289 this patch: 289
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 6858 this patch: 6858
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 6 this patch: 6
netdev/contest success net-next-2024-08-25--21-00 (tests: 714)

Message

Daniel Borkmann Aug. 23, 2024, 1:49 p.m. UTC
Hi David, hi Jakub, hi Paolo, hi Eric,

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

We've added 10 non-merge commits during the last 15 day(s) which contain
a total of 10 files changed, 222 insertions(+), 190 deletions(-).

The main changes are:

1) Add TCP_BPF_SOCK_OPS_CB_FLAGS to bpf_*sockopt() to address the case when
   long-lived sockets miss a chance to set additional callbacks if a sockops
   program was not attached early in their lifetime, from Alan Maguire.

2) Add a batch of BPF selftest improvements which fix a few bugs and add missing
   features to improve the test coverage of sockmap/sockhash, from Michal Luczaj.

3) Fix a false-positive Smatch-reported off-by-one in tcp_validate_cookie() which
   is part of the test_tcp_custom_syncookie BPF selftest, from Kuniyuki Iwashima.

4) Fix the flow_dissector BPF selftest which had a bug in IP header's tot_len
   calculation doing subtraction after htons() instead of inside htons(), from
   Asbjørn Sloth Tønnesen.

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:

Dan Carpenter, Jakub Sitnicki, Toke Høiland-Jørgensen, Yonghong Song

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

The following changes since commit 91d516d4de48532d967a77967834e00c8c53dfe6:

  net: mvpp2: Increase size of queue_name buffer (2024-08-07 20:21:05 -0700)

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 af8a066f1c473261881a6d8e2b55cca8eda9ce80:

  selftest: bpf: Remove mssind boundary check in test_tcp_custom_syncookie.c. (2024-08-21 23:19:33 -0700)

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

----------------------------------------------------------------
Alan Maguire (2):
      bpf/bpf_get,set_sockopt: add option to set TCP-BPF sock ops flags
      selftests/bpf: add sockopt tests for TCP_BPF_SOCK_OPS_CB_FLAGS

Asbjørn Sloth Tønnesen (1):
      selftests/bpf: Avoid subtraction after htons() in ipip tests

Kuniyuki Iwashima (1):
      selftest: bpf: Remove mssind boundary check in test_tcp_custom_syncookie.c.

Martin KaFai Lau (2):
      Merge branch 'add TCP_BPF_SOCK_OPS_CB_FLAGS to bpf_*sockopt()'
      Merge branch 'selftests/bpf: Various sockmap-related fixes'

Michal Luczaj (6):
      selftests/bpf: Support more socket types in create_pair()
      selftests/bpf: Socket pair creation, cleanups
      selftests/bpf: Simplify inet_socketpair() and vsock_socketpair_connectible()
      selftests/bpf: Honour the sotype of af_unix redir tests
      selftests/bpf: Exercise SOCK_STREAM unix_inet_redir_to_connected()
      selftests/bpf: Introduce __attribute__((cleanup)) in create_pair()

 include/uapi/linux/bpf.h                           |   3 +-
 net/core/filter.c                                  |  16 +++
 tools/include/uapi/linux/bpf.h                     |   3 +-
 .../selftests/bpf/prog_tests/flow_dissector.c      |  12 +-
 .../selftests/bpf/prog_tests/setget_sockopt.c      |  47 +++++++
 .../selftests/bpf/prog_tests/sockmap_basic.c       |  28 ++--
 .../selftests/bpf/prog_tests/sockmap_helpers.h     | 149 ++++++++++++++-------
 .../selftests/bpf/prog_tests/sockmap_listen.c      | 117 ++--------------
 tools/testing/selftests/bpf/progs/setget_sockopt.c |  26 +++-
 .../bpf/progs/test_tcp_custom_syncookie.c          |  11 +-
 10 files changed, 222 insertions(+), 190 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 26, 2024, 4:10 p.m. UTC | #1
Hello:

This pull request was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 23 Aug 2024 15:49:59 +0200 you wrote:
> Hi David, hi Jakub, hi Paolo, hi Eric,
> 
> The following pull-request contains BPF updates for your *net-next* tree.
> 
> We've added 10 non-merge commits during the last 15 day(s) which contain
> a total of 10 files changed, 222 insertions(+), 190 deletions(-).
> 
> [...]

Here is the summary with links:
  - pull-request: bpf-next 2024-08-23
    https://git.kernel.org/netdev/net-next/c/e540e3bcf2a2

You are awesome, thank you!