summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-02-07 14:39:47 -0800
committerLaura Abbott <labbott@redhat.com>2018-02-07 14:39:47 -0800
commite36a35763c91a2871199534b6e9686842eabfe2a (patch)
tree5fe551ceee860a0d8d29ec0b0f1af83dd1564580
parent7d40e4a029d90911ad7f92572f18e828315cbdb4 (diff)
downloadkernel-e36a35763c91a2871199534b6e9686842eabfe2a.tar.gz
kernel-e36a35763c91a2871199534b6e9686842eabfe2a.tar.xz
kernel-e36a35763c91a2871199534b6e9686842eabfe2a.zip
API rename
-rw-r--r--prevent-bounds-check-bypass-via-speculative-execution.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/prevent-bounds-check-bypass-via-speculative-execution.patch b/prevent-bounds-check-bypass-via-speculative-execution.patch
index 275d3b039..aa19fc0d4 100644
--- a/prevent-bounds-check-bypass-via-speculative-execution.patch
+++ b/prevent-bounds-check-bypass-via-speculative-execution.patch
@@ -336,7 +336,7 @@ index 574dff4d2913..9b6f20cfaeb9 100644
+ if (__builtin_constant_p(size)) {
+ if (unlikely(addr > limit - size))
+ return true;
-+ nospec_barrier();
++ barrier_nospec();
+ return false;
+ }
@@ -346,7 +346,7 @@ index 574dff4d2913..9b6f20cfaeb9 100644
+ if (unlikely(addr < size || addr > limit))
return true;
- return unlikely(addr > limit);
-+ nospec_barrier();
++ barrier_nospec();
+ return false;
}