diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-04-01 11:17:02 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-04-01 11:17:02 -0500 |
commit | 2c2797a4fecc43103e3026c66d5706367bb962e9 (patch) | |
tree | 2570b0f6aada046cd58b798fe81a04112a5454f7 | |
parent | 6b8391245553f4929c637aedf75066082124f0e6 (diff) | |
download | kernel-2c2797a4fecc43103e3026c66d5706367bb962e9.tar.gz kernel-2c2797a4fecc43103e3026c66d5706367bb962e9.tar.xz kernel-2c2797a4fecc43103e3026c66d5706367bb962e9.zip |
remove unused patch
-rw-r--r-- | bpf-update-jmp32-test-cases-to-fix-range-bound-deduction.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/bpf-update-jmp32-test-cases-to-fix-range-bound-deduction.patch b/bpf-update-jmp32-test-cases-to-fix-range-bound-deduction.patch deleted file mode 100644 index 0b8304e7f..000000000 --- a/bpf-update-jmp32-test-cases-to-fix-range-bound-deduction.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 6b5ca133b9fbd57f0ca4acd7999c4e9a93e702be Mon Sep 17 00:00:00 2001 -From: Daniel Borkmann <daniel@iogearbox.net> -Date: Fri, 24 Jan 2020 14:21:14 +0000 -Subject: bpf: update jmp32 test cases to fix range bound deduction - -From: Daniel Borkmann <daniel@iogearbox.net> - -[ no upstream commit ] - -Since commit f2d67fec0b43 ("bpf: Undo incorrect __reg_bound_offset32 handling") -has been backported to stable, we also need to update related test cases that -started to (expectedly) fail on stable. Given the functionality has been reverted -we need to move the result to REJECT. - -Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> -Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> - ---- - tools/testing/selftests/bpf/verifier/jmp32.c | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - ---- a/tools/testing/selftests/bpf/verifier/jmp32.c -+++ b/tools/testing/selftests/bpf/verifier/jmp32.c -@@ -768,7 +768,8 @@ - }, - .prog_type = BPF_PROG_TYPE_SCHED_CLS, - .fixup_map_hash_48b = { 4 }, -- .result = ACCEPT, -+ .result = REJECT, -+ .errstr = "R8 unbounded memory access", - .flags = F_NEEDS_EFFICIENT_UNALIGNED_ACCESS, - }, - { -@@ -796,7 +797,8 @@ - }, - .prog_type = BPF_PROG_TYPE_SCHED_CLS, - .fixup_map_hash_48b = { 4 }, -- .result = ACCEPT, -+ .result = REJECT, -+ .errstr = "R8 unbounded memory access", - .flags = F_NEEDS_EFFICIENT_UNALIGNED_ACCESS, - }, - { -@@ -824,6 +826,7 @@ - }, - .prog_type = BPF_PROG_TYPE_SCHED_CLS, - .fixup_map_hash_48b = { 4 }, -- .result = ACCEPT, -+ .result = REJECT, -+ .errstr = "R8 unbounded memory access", - .flags = F_NEEDS_EFFICIENT_UNALIGNED_ACCESS, - }, |