diff options
author | Cong Wang <cong.wang@bytedance.com> | 2024-12-13 06:40:55 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-12-21 01:13:31 +0300 |
commit | 9ee0c7b8654346d60c823babe4b3747357a30477 (patch) | |
tree | 957e7fd85279fe8c3ce47423d663817dfa4cb25f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9ecc4d858b92c1bb0673ad9c327298e600c55659 (diff) | |
download | linux-9ee0c7b8654346d60c823babe4b3747357a30477.tar.xz |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions