Cong Wang 9ee0c7b865 selftests/bpf: Add a BPF selftest for bpf_skb_change_tail()
As requested by Daniel, we need to add a selftest to cover
bpf_skb_change_tail() cases in skb_verdict. Here we test trimming,
growing and error cases, and validate its expected return values and the
expected sizes of the payload.

Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20241213034057.246437-3-xiyou.wangcong@gmail.com
2024-12-20 23:13:31 +01:00
..
2024-12-06 15:07:48 -08:00
2024-11-26 14:54:00 -08:00
2024-09-19 08:15:30 +02:00
2024-11-03 20:33:43 +00:00
2024-11-26 12:59:30 -08:00
2024-11-30 13:41:50 -08:00
2024-11-30 18:30:22 -08:00
2024-11-22 13:24:22 -08:00
2024-11-06 04:40:07 -05:00