aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-11-23 16:23:24 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-11-26 00:15:03 +0100
commit43080b7106db5bcdb4f09c2648e968151e1461b7 (patch)
tree84fd57364423d453290967951af40def42bcac74 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent57428298b5acf2ba2dd98359c532774f6eaeecb3 (diff)
selftests/bpf: Fix misaligned memory accesses in xdp_bonding test
Construct packet buffer explicitly for each packet to avoid unaligned memory accesses. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211124002325.1737739-13-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions