commit | bc2d8afecbec33bd4549ce1ef904383fde21d385 | [log] [tgz] |
---|---|---|
author | Ilya Leoshkevich <iii@linux.ibm.com> | Wed Jul 03 13:50:34 2019 +0200 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Jul 09 01:10:23 2019 +0200 |
tree | a60c7d72886d4b009684d79b9b458f53f328b343 | |
parent | 8fc9f8bedf1bdaea48382ae2e3dd558e2b939cee [diff] |
selftests/bpf: fix test_reuseport_array on s390 Fix endianness issue: passing a pointer to 64-bit fd as a 32-bit key does not work on big-endian architectures. So cast fd to 32-bits when necessary. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>