Skip to content
Commit 33772ff3 authored by Hao Sun's avatar Hao Sun Committed by Daniel Borkmann
Browse files

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: default avatarHao Sun <sunhao.th@gmail.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarYonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240115082028.9992-2-sunhao.th@gmail.com
parent 22c7fa17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment