diff options
author | Hao Sun <sunhao.th@gmail.com> | 2024-01-15 09:20:28 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-01-16 17:12:48 +0100 |
commit | 33772ff3b887eb2f426ed66bcb1808837a40669c (patch) | |
tree | 61761765fc9b6a76a9f4baddb9e63aa6cfe1a016 /tools/lib/bpf/libbpf.c | |
parent | 22c7fa171a02d310e3a3f6ed46a698ca8a0060ed (diff) |
selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS
Add a test case for PTR_TO_FLOW_KEYS alu. Testing if alu with variable
offset on flow_keys is rejected. For the fixed offset success case, we
already have C code coverage to verify (e.g. via bpf_flow.c).
Signed-off-by: Hao Sun <sunhao.th@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240115082028.9992-2-sunhao.th@gmail.com
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions