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 13:54:54 -0700 |
commit | 59fd3486c3dd5678bc2fcac75e14466775465c3e (patch) | |
tree | df87ef00abde3fb744409429765eae6cd55f6622 /samples | |
parent | 01a0f9e4496d9f54e06abb71bf9f56c617ef8c24 (diff) | |
download | linux-stable-59fd3486c3dd5678bc2fcac75e14466775465c3e.tar.gz linux-stable-59fd3486c3dd5678bc2fcac75e14466775465c3e.tar.bz2 linux-stable-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 'samples')
0 files changed, 0 insertions, 0 deletions