diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2019-08-20 16:18:04 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-21 16:55:01 +0200 |
commit | 806ce6e2117a42528e7bb979e04e28229b34a612 (patch) | |
tree | 89ddc3887e2ad377bb61e6f503ee2f5d796b9504 /fs/hfsplus/extents.c | |
parent | fb89c39455e4b49881c5a42761bd71f03d3ef888 (diff) | |
download | linux-806ce6e2117a42528e7bb979e04e28229b34a612.tar.gz linux-806ce6e2117a42528e7bb979e04e28229b34a612.tar.bz2 linux-806ce6e2117a42528e7bb979e04e28229b34a612.zip |
selftests/bpf: fix test_cgroup_storage on s390
test_cgroup_storage fails on s390 with an assertion failure: packets are
dropped when they shouldn't. The problem is that BPF_DW packet count is
accessed as BPF_W with an offset of 0, which is not correct on
big-endian machines.
Since the point of this test is not to verify narrow loads/stores,
simply use BPF_DW when working with packet counts.
Fixes: 68cfa3ac6b8d ("selftests/bpf: add a cgroup storage test")
Fixes: 919646d2a3a9 ("selftests/bpf: extend the storage test to test per-cpu cgroup storage")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'fs/hfsplus/extents.c')
0 files changed, 0 insertions, 0 deletions