diff options
| author | Cong Wang <[email protected]> | 2024-12-13 03:40:55 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-12-20 22:13:31 +0000 |
| commit | 9ee0c7b8654346d60c823babe4b3747357a30477 (patch) | |
| tree | 957e7fd85279fe8c3ce47423d663817dfa4cb25f /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | bpf: Check negative offsets in __bpf_skb_min_len() (diff) | |
| download | kernel-9ee0c7b8654346d60c823babe4b3747357a30477.tar.gz kernel-9ee0c7b8654346d60c823babe4b3747357a30477.zip | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
