On 8/1/25 2:49 AM, Paul Chaignon wrote:
This patch adds tests for two context fields where unaligned accesses were not properly rejected. Note the new macro is similar to the existing narrow_load macro, but we need a different description and access offset. Combining the two macros into one is probably doable but I don't think it would help readability. vmlinux.h is included in place of bpf.h so we have the definition of struct bpf_nf_ctx. Signed-off-by: Paul Chaignon <paul.chaignon@xxxxxxxxx>
Acked-by: Yonghong Song <yonghong.song@xxxxxxxxx>