aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-11-24 00:23:25 +0000
committerDaniel Borkmann <[email protected]>2021-11-25 23:15:03 +0000
commit8f6f41f39348f25db843f2fcb2f1c166b4bfa2d7 (patch)
treea9cc621c7e6ca3bcb5e9f2d1aee6445edc866048 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parentselftests/bpf: Fix misaligned memory accesses in xdp_bonding test (diff)
downloadkernel-8f6f41f39348f25db843f2fcb2f1c166b4bfa2d7.tar.gz
kernel-8f6f41f39348f25db843f2fcb2f1c166b4bfa2d7.zip
selftests/bpf: Fix misaligned accesses in xdp and xdp_bpf2bpf tests
Similar to previous patch, just copy over necessary struct into local stack variable before checking its fields. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions