From: Daniel Borkmann <daniel@iogearbox.net>
To: torvalds@linux-foundation.org
Cc: bpf@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, alexei.starovoitov@gmail.com,
andrii@kernel.org, daniel@iogearbox.net, martin.lau@kernel.org
Subject: [GIT PULL] bpf for v6.13-rc4
Date: Sat, 21 Dec 2024 01:21:23 +0100 [thread overview]
Message-ID: <20241221002123.491623-1-daniel@iogearbox.net> (raw)
Hi Linus,
The following changes since commit 78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8:
Linux 6.13-rc3 (2024-12-15 15:58:23 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/bpf-fixes
for you to fetch changes up to 4a58963d10fa3cb654b859e3f9a8aecbcf9f4982:
selftests/bpf: Test bpf_skb_change_tail() in TC ingress (2024-12-20 23:13:31 +0100)
----------------------------------------------------------------
BPF fixes:
- Fix inlining of bpf_get_smp_processor_id helper for !CONFIG_SMP
systems (Andrea Righi)
- Fix BPF USDT selftests helper code to use asm constraint "m"
for LoongArch (Tiezhu Yang)
- Fix BPF selftest compilation error in get_uprobe_offset when
PROCMAP_QUERY is not defined (Jerome Marchand)
- Fix BPF bpf_skb_change_tail helper when used in context of
BPF sockmap to handle negative skb header offsets (Cong Wang)
- Several fixes to BPF sockmap code, among others, in the area
of socket buffer accounting (Levi Zim, Zijian Zhang, Cong Wang)
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
----------------------------------------------------------------
Andrea Righi (1):
bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP
Cong Wang (5):
tcp_bpf: Charge receive socket buffer in bpf_tcp_ingress()
bpf: Check negative offsets in __bpf_skb_min_len()
selftests/bpf: Add a BPF selftest for bpf_skb_change_tail()
selftests/bpf: Introduce socket_helpers.h for TC tests
selftests/bpf: Test bpf_skb_change_tail() in TC ingress
Jerome Marchand (1):
selftests/bpf: Fix compilation error in get_uprobe_offset()
Levi Zim (2):
skmsg: Return copied bytes in sk_msg_memcopy_from_iter
tcp_bpf: Fix copied value in tcp_bpf_sendmsg
Tiezhu Yang (1):
selftests/bpf: Use asm constraint "m" for LoongArch
Zijian Zhang (1):
tcp_bpf: Add sk_rmem_alloc related logic for tcp_bpf ingress redirection
include/linux/skmsg.h | 11 +-
include/net/sock.h | 10 +-
kernel/bpf/verifier.c | 6 +-
net/core/filter.c | 21 +-
net/core/skmsg.c | 11 +-
net/ipv4/tcp_bpf.c | 14 +-
.../selftests/bpf/prog_tests/socket_helpers.h | 394 +++++++++++++++++++++
.../selftests/bpf/prog_tests/sockmap_basic.c | 51 +++
.../selftests/bpf/prog_tests/sockmap_helpers.h | 385 +-------------------
.../selftests/bpf/prog_tests/tc_change_tail.c | 62 ++++
.../selftests/bpf/progs/test_sockmap_change_tail.c | 40 +++
.../selftests/bpf/progs/test_tc_change_tail.c | 106 ++++++
tools/testing/selftests/bpf/sdt.h | 2 +
tools/testing/selftests/bpf/trace_helpers.c | 4 +
14 files changed, 712 insertions(+), 405 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/socket_helpers.h
create mode 100644 tools/testing/selftests/bpf/prog_tests/tc_change_tail.c
create mode 100644 tools/testing/selftests/bpf/progs/test_sockmap_change_tail.c
create mode 100644 tools/testing/selftests/bpf/progs/test_tc_change_tail.c
next reply other threads:[~2024-12-21 0:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 0:21 Daniel Borkmann [this message]
2024-12-21 19:23 ` Linus Torvalds
2024-12-24 13:38 ` Daniel Borkmann
2024-12-21 19:30 ` pr-tracker-bot
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=20241221002123.491623-1-daniel@iogearbox.net \
--to=daniel@iogearbox.net \
--cc=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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
all inboxes | Powered by JetHome®