commit | 59fd3486c3dd5678bc2fcac75e14466775465c3e | [log] [tgz] |
---|---|---|
author | Ilya Leoshkevich <iii@linux.ibm.com> | Wed Jul 17 14:26:20 2019 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Jul 18 13:54:54 2019 -0700 |
tree | df87ef00abde3fb744409429765eae6cd55f6622 | |
parent | 01a0f9e4496d9f54e06abb71bf9f56c617ef8c24 [diff] |
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>