summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/DENYLIST.s390x
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2022-12-21 21:56:53 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-12-22 02:56:27 +0300
commit70a00e2f1dbae11dc3444444c6bd7555763d8421 (patch)
tree6e29be63d2a63d43c51d1d0ac99fab76ffaa329f /tools/testing/selftests/bpf/DENYLIST.s390x
parent54c3f1a81421f85e60ae2eaae7be3727a09916ee (diff)
downloadlinux-70a00e2f1dbae11dc3444444c6bd7555763d8421.tar.xz
selftests/bpf: Test bpf_skb_adjust_room on CHECKSUM_PARTIAL
When the bpf_skb_adjust_room() shrinks the skb such that its csum_start is invalid, the skb->ip_summed should be reset from CHECKSUM_PARTIAL to CHECKSUM_NONE. The commit 54c3f1a81421 ("bpf: pull before calling skb_postpull_rcsum()") fixed it. This patch adds a test to ensure the skb->ip_summed changed from CHECKSUM_PARTIAL to CHECKSUM_NONE after bpf_skb_adjust_room(). Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Stanislav Fomichev <sdf@google.com> Link: https://lore.kernel.org/bpf/20221221185653.1589961-1-martin.lau@linux.dev
Diffstat (limited to 'tools/testing/selftests/bpf/DENYLIST.s390x')
-rw-r--r--tools/testing/selftests/bpf/DENYLIST.s390x1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/DENYLIST.s390x b/tools/testing/selftests/bpf/DENYLIST.s390x
index 585fcf73c731..3fc3e54b19aa 100644
--- a/tools/testing/selftests/bpf/DENYLIST.s390x
+++ b/tools/testing/selftests/bpf/DENYLIST.s390x
@@ -14,6 +14,7 @@ cgrp_kfunc # JIT does not support calling kernel f
cgrp_local_storage # prog_attach unexpected error: -524 (trampoline)
core_read_macros # unknown func bpf_probe_read#4 (overlapping)
d_path # failed to auto-attach program 'prog_stat': -524 (trampoline)
+decap_sanity # JIT does not support calling kernel function (kfunc)
deny_namespace # failed to attach: ERROR: strerror_r(-524)=22 (trampoline)
dummy_st_ops # test_run unexpected error: -524 (errno 524) (trampoline)
fentry_fexit # fentry attach failed: -524 (trampoline)