diff options
| author | Ilya Leoshkevich <[email protected]> | 2020-09-15 13:38:15 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-09-18 22:54:52 +0200 |
| commit | b6ed6cf4a3acdeab9aed8e0a524850761ec9b152 (patch) | |
| tree | 4e4d76de7dd49dc78d19ca5bf8246d1588dbb5f8 /tools/perf/scripts/python | |
| parent | 3b0379111197fb97f4f46f93946fe30b22a15223 (diff) | |
selftests/bpf: Fix endianness issue in sk_assign
server_map's value size is 8, but the test tries to put an int there.
This sort of works on x86 (unless followed by non-0), but hard fails on
s390.
Fix by using __s64 instead of int.
Fixes: 2d7824ffd25c ("selftests: bpf: Add test for sk_assign")
Signed-off-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions