From: patchwork-bot+netdevbpf@kernel.org
To: Mahe Tardy <mahe.tardy@gmail.com>
Cc: bpf@vger.kernel.org, martin.lau@linux.dev, daniel@iogearbox.net,
john.fastabend@gmail.com, song@kernel.org, ast@kernel.org
Subject: Re: [PATCH bpf-next 1/2] bpf: fix cgroup_skb prog test run direct packet access
Date: Mon, 25 Nov 2024 22:20:33 +0000 [thread overview]
Message-ID: <173257323374.4055688.12478982839046244045.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20241125152603.375898-1-mahe.tardy@gmail.com>
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Mon, 25 Nov 2024 15:26:02 +0000 you wrote:
> This is needed in the context of Tetragon to test cgroup_skb programs
> using BPF_PROG_TEST_RUN with direct packet access.
>
> Commit b39b5f411dcf ("bpf: add cg_skb_is_valid_access for
> BPF_PROG_TYPE_CGROUP_SKB") added direct packet access for cgroup_skb
> programs and following commit 2cb494a36c98 ("bpf: add tests for direct
> packet access from CGROUP_SKB") added tests to the verifier to ensure
> that access to skb fields was possible and also fixed
> bpf_prog_test_run_skb. However, is_direct_pkt_access was never set to
> true for this program type, so data pointers were not computed when
> using prog_test_run, making data_end always equal to zero (data_meta is
> not accessible for cgroup_skb).
>
> [...]
Here is the summary with links:
- [bpf-next,1/2] bpf: fix cgroup_skb prog test run direct packet access
https://git.kernel.org/bpf/bpf-next/c/a4bc2d977a67
- [bpf-next,2/2] selftests/bpf: add cgroup skb direct packet access test
https://git.kernel.org/bpf/bpf-next/c/6398ef949aba
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2024-11-25 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-25 15:26 [PATCH bpf-next 1/2] bpf: fix cgroup_skb prog test run direct packet access Mahe Tardy
2024-11-25 15:26 ` [PATCH bpf-next 2/2] selftests/bpf: add cgroup skb direct packet access test Mahe Tardy
2024-11-25 22:20 ` patchwork-bot+netdevbpf [this message]
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=173257323374.4055688.12478982839046244045.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=john.fastabend@gmail.com \
--cc=mahe.tardy@gmail.com \
--cc=martin.lau@linux.dev \
--cc=song@kernel.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