diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2019-07-17 14:26:20 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-07-18 22:54:54 +0200 |
commit | 59fd3486c3dd5678bc2fcac75e14466775465c3e (patch) | |
tree | df87ef00abde3fb744409429765eae6cd55f6622 /tools/include | |
parent | selftests/bpf: fix "valid read map access into a read-only array 1" on s390 (diff) | |
download | linux-59fd3486c3dd5678bc2fcac75e14466775465c3e.tar.xz linux-59fd3486c3dd5678bc2fcac75e14466775465c3e.zip |
selftests/bpf: fix test_xdp_noinline on s390
test_xdp_noinline fails on s390 due to a handful of endianness issues.
Use ntohs for parsing eth_proto.
Replace bswaps with ntohs/htons.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions