[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240823134959.1091-1-daniel@iogearbox.net>
Date: Fri, 23 Aug 2024 15:49:59 +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-08-23
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(-)
Powered by blists - more mailing lists