BPF List
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: kuba@kernel.org, pabeni@redhat.com, edumazet@google.com,
	daniel@iogearbox.net, ast@kernel.org, andrii@kernel.org,
	martin.lau@linux.dev, netdev@vger.kernel.org,
	bpf@vger.kernel.org
Subject: pull-request: bpf-next 2024-08-23
Date: Fri, 23 Aug 2024 15:49:59 +0200	[thread overview]
Message-ID: <20240823134959.1091-1-daniel@iogearbox.net> (raw)

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(-)

             reply	other threads:[~2024-08-23 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-23 13:49 Daniel Borkmann [this message]
2024-08-26 16:10 ` pull-request: bpf-next 2024-08-23 patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240823134959.1091-1-daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox