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 2023-09-06
Date: Wed, 6 Sep 2023 11:51:17 +0200 [thread overview]
Message-ID: <20230906095117.16941-1-daniel@iogearbox.net> (raw)
Hi David, hi Jakub, hi Paolo, hi Eric,
The following pull-request contains BPF updates for your *net* tree.
We've added 9 non-merge commits during the last 6 day(s) which contain
a total of 12 files changed, 189 insertions(+), 44 deletions(-).
The main changes are:
1) Fix bpf_sk_storage to address an invalid wait context lockdep report and
another one to address missing omem uncharge, from Martin KaFai Lau.
2) Two BPF recursion detection related fixes, from Sebastian Andrzej Siewior.
3) Fix tailcall limit enforcement in trampolines for s390 JIT, from Ilya Leoshkevich.
4) Fix a sockmap refcount race where skbs in sk_psock_backlog can be referenced
after user space side has already skb_consumed them, from John Fastabend.
5) Fix BPF CI flake/race wrt sockmap vsock write test where the transport
endpoint is not connected, from Xu Kuohai.
6) Follow-up doc fix to address a cross-link warning, from Eduard Zingerman.
Please consider pulling these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev
Thanks a lot!
Also thanks to reporters, reviewers and testers of commits in this pull-request:
Jiri Olsa, kernel test robot, Leon Hwang, Xu Kuohai
----------------------------------------------------------------
The following changes since commit ae074e2b2fd410bf54d56509a7e48fb83873af3b:
sfc: check for zero length in EF10 RX prefix (2023-09-01 08:14:57 +0100)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev
for you to fetch changes up to a96d1cfb2da040bdf692d22022371b249742abb2:
selftests/bpf: Check bpf_sk_storage has uncharged sk_omem_alloc (2023-09-06 11:08:47 +0200)
----------------------------------------------------------------
bpf-for-netdev
----------------------------------------------------------------
Eduard Zingerman (1):
docs/bpf: Fix "file doesn't exist" warnings in {llvm_reloc,btf}.rst
Ilya Leoshkevich (1):
s390/bpf: Pass through tail call counter in trampolines
John Fastabend (1):
bpf, sockmap: Fix skb refcnt race after locking changes
Martin KaFai Lau (3):
bpf: bpf_sk_storage: Fix invalid wait context lockdep report
bpf: bpf_sk_storage: Fix the missing uncharge in sk_omem_alloc
selftests/bpf: Check bpf_sk_storage has uncharged sk_omem_alloc
Sebastian Andrzej Siewior (2):
bpf: Invoke __bpf_prog_exit_sleepable_recur() on recursion in kern_sys_bpf().
bpf: Assign bpf_tramp_run_ctx::saved_run_ctx before recursion check.
Xu Kuohai (1):
selftests/bpf: Fix a CI failure caused by vsock write
Documentation/bpf/btf.rst | 2 +-
Documentation/bpf/llvm_reloc.rst | 2 +-
arch/s390/net/bpf_jit_comp.c | 10 ++++
kernel/bpf/bpf_local_storage.c | 49 ++++++-----------
kernel/bpf/syscall.c | 2 +-
kernel/bpf/trampoline.c | 5 +-
net/core/skmsg.c | 12 +++--
.../bpf/prog_tests/sk_storage_omem_uncharge.c | 56 ++++++++++++++++++++
.../selftests/bpf/prog_tests/sockmap_helpers.h | 26 +++++++++
.../selftests/bpf/prog_tests/sockmap_listen.c | 7 +++
.../testing/selftests/bpf/progs/bpf_tracing_net.h | 1 +
.../selftests/bpf/progs/sk_storage_omem_uncharge.c | 61 ++++++++++++++++++++++
12 files changed, 189 insertions(+), 44 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/sk_storage_omem_uncharge.c
create mode 100644 tools/testing/selftests/bpf/progs/sk_storage_omem_uncharge.c
next reply other threads:[~2023-09-06 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-06 9:51 Daniel Borkmann [this message]
2023-09-07 3:40 ` pull-request: bpf 2023-09-06 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=20230906095117.16941-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;
as well as URLs for NNTP newsgroup(s).