diff options
| author | Jakub Sitnicki <jakub@cloudflare.com> | 2025-08-14 12:59:34 +0300 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-08-18 20:29:43 +0300 |
| commit | bd1b51b319788cbc5769a44f0081a1cb012f8ae4 (patch) | |
| tree | 0a23256f16db2ab2d627198ecf96343399de0d29 /rust/helpers/helpers.c | |
| parent | ed93360807801e7f69b74efec98a1bd674ba035e (diff) | |
| download | linux-bd1b51b319788cbc5769a44f0081a1cb012f8ae4.tar.xz | |
selftests/bpf: Cover read/write to skb metadata at an offset
Exercise r/w access to skb metadata through an offset-adjusted dynptr,
read/write helper with an offset argument, and a slice starting at an
offset.
Also check for the expected errors when the offset is out of bounds.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Reviewed-by: Jesse Brandeburg <jbrandeburg@cloudflare.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://patch.msgid.link/20250814-skb-metadata-thru-dynptr-v7-8-8a39e636e0fb@cloudflare.com
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
