commit | 8f6f41f39348f25db843f2fcb2f1c166b4bfa2d7 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andrii@kernel.org> | Tue Nov 23 16:23:25 2021 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Nov 26 00:15:03 2021 +0100 |
tree | a9cc621c7e6ca3bcb5e9f2d1aee6445edc866048 | |
parent | 43080b7106db5bcdb4f09c2648e968151e1461b7 [diff] |
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 <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211124002325.1737739-14-andrii@kernel.org