diff options
| author | Andrii Nakryiko <[email protected]> | 2021-11-24 00:23:25 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-11-25 23:15:03 +0000 |
| commit | 8f6f41f39348f25db843f2fcb2f1c166b4bfa2d7 (patch) | |
| tree | a9cc621c7e6ca3bcb5e9f2d1aee6445edc866048 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
| parent | selftests/bpf: Fix misaligned memory accesses in xdp_bonding test (diff) | |
| download | kernel-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
