On Mon, 2025-07-21 at 12:52 +0200, Jakub Sitnicki wrote: > dynptr for skb metadata behaves the same way as the dynptr for skb data > with one exception - writes to skb_meta dynptr don't invalidate existing > skb and skb_meta slices. > > Duplicate those the skb dynptr tests which we can, since > bpf_dynptr_from_skb_meta kfunc can be called only from TC BPF, to cover the > skb_meta dynptr verifier checks. > > Also add a couple of new tests (skb_data_valid_*) to ensure we don't > invalidate the slices in the mentioned case, which are specific to skb_meta > dynptr. > > Signed-off-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> > --- Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx> [...]