diff options
author | Jakub Sitnicki <jakub@cloudflare.com> | 2025-08-14 11:59:35 +0200 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-08-18 10:29:43 -0700 |
commit | 403fae59781fddc699af761f38ed024d3245096b (patch) | |
tree | ecf7140610fa5b609b05f14fc710de3f1ad3f57b /rust/helpers/rcu.c | |
parent | bd1b51b319788cbc5769a44f0081a1cb012f8ae4 (diff) |
selftests/bpf: Cover metadata access from a modified skb clone
Demonstrate that, when processing an skb clone, the metadata gets truncated
if the program contains a direct write to either the payload or the
metadata, due to an implicit unclone in the prologue, and otherwise the
dynptr to the metadata is limited to being read-only.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250814-skb-metadata-thru-dynptr-v7-9-8a39e636e0fb@cloudflare.com
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions