Home Home > GIT Browse > openSUSE-42.3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2018-01-12 15:07:37 +0100
committerJiri Slaby <jslaby@suse.cz>2018-01-12 16:49:38 +0100
commit47f5ee018ad2e63cff73a69eb0817bc14094cc9c (patch)
tree790954ae0560b86ce9b10a2fd7bb43340bf0a8e3
parenteb3e122d1b8c75bf425a840b21873d6796133cea (diff)
Delete
patches.suse/0002-bpf-prevent-speculative-execution-in-eBPF-interprete.patch. This has been just replaced by the proper upstream solution. suse-commit: b3232b53e388b7f72d239f19ba233f249cc9edcd
-rw-r--r--kernel/bpf/core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c
index 39b2749175e1..3fd76cf0c21e 100644
--- a/kernel/bpf/core.c
+++ b/kernel/bpf/core.c
@@ -29,7 +29,6 @@
#include <linux/bpf.h>
#include <asm/unaligned.h>
-#include <asm/barrier.h>
/* Registers */
#define BPF_R0 regs[BPF_REG_0]
@@ -428,7 +427,6 @@ select_insn:
DST = IMM;
CONT;
LD_IMM_DW:
- gmb();
DST = (u64) (u32) insn[0].imm | ((u64) (u32) insn[1].imm) << 32;
insn++;
CONT;
@@ -643,7 +641,6 @@ out:
*(SIZE *)(unsigned long) (DST + insn->off) = IMM; \
CONT; \
LDX_MEM_##SIZEOP: \
- gmb(); \
DST = *(SIZE *)(unsigned long) (SRC + insn->off); \
CONT;