diff options
| author | Andrii Nakryiko <[email protected]> | 2021-11-24 00:23:22 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-11-25 23:15:03 +0000 |
| commit | e2e0d90c550a2588ebed7aa2753adaac0f633989 (patch) | |
| tree | 43764dd331642b2be4421090cfbb4db4d38247f2 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | selftests/bpf: Prevent misaligned memory access in get_stack_raw_tp test (diff) | |
| download | kernel-e2e0d90c550a2588ebed7aa2753adaac0f633989.tar.gz kernel-e2e0d90c550a2588ebed7aa2753adaac0f633989.zip | |
selftests/bpf: Fix misaligned memory access in queue_stack_map test
Copy over iphdr into a local variable before accessing 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/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
