]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Apply F_NEEDS_EFFICIENT_UNALIGNED_ACCESS to more ACCEPT test cases.
authorDavid Miller <davem@davemloft.net>
Sat, 1 Dec 2018 05:08:50 +0000 (21:08 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 1 Dec 2018 05:38:48 +0000 (21:38 -0800)
commitb45ef1b3de607a5b2b3bb47a88a06f0a0430fdcf
tree64414ade83109cdb78f8a702d58ae59f1b72e7b8
parent31b07cfe01466c5c5f02ffc5091eaf848b830c09
bpf: Apply F_NEEDS_EFFICIENT_UNALIGNED_ACCESS to more ACCEPT test cases.

If a testcase has alignment problems but is expected to be ACCEPT,
verify it using F_NEEDS_EFFICIENT_UNALIGNED_ACCESS too.

Maybe in the future if we add some architecture specific code to elide
the unaligned memory access warnings during the test, we can execute
these as well.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_verifier.c