summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_aio_fix_spectre_gadget_in_lookup_ioctx.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-07-17 18:48:42 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-09-19 10:49:24 +0200
commit0d6ec6f2b586a50936910715f2baf762088b21b1 (patch)
tree0b5a8190e085b2c3af4db06aeba7bb28344f0b3e /recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_aio_fix_spectre_gadget_in_lookup_ioctx.patch
parent220d253a54badac91283d5b949e1458e79906b05 (diff)
linux-toradex-rt: update to 4.14-2.0.x version
Update rt kernel recipe to use the linux-toradex_4.14-2.0.x kernel. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_aio_fix_spectre_gadget_in_lookup_ioctx.patch')
-rw-r--r--recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_aio_fix_spectre_gadget_in_lookup_ioctx.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_aio_fix_spectre_gadget_in_lookup_ioctx.patch b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_aio_fix_spectre_gadget_in_lookup_ioctx.patch
deleted file mode 100644
index c56c72f..0000000
--- a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_aio_fix_spectre_gadget_in_lookup_ioctx.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-commit 2f7fbc052b632c0ae2d4a2bb5d5c928bbc24ca43
-Author: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-Date: Tue Apr 9 04:12:18 2019 +0200
-
- Revert "aio: fix spectre gadget in lookup_ioctx"
-
- This reverts commit 3a7bac902691cd92cb69f95d98dc675dea8b3228.
-
-diff --git a/fs/aio.c b/fs/aio.c
-index c3fc80294397..b1170a7affe2 100644
---- a/fs/aio.c
-+++ b/fs/aio.c
-@@ -40,7 +40,6 @@
- #include <linux/ramfs.h>
- #include <linux/percpu-refcount.h>
- #include <linux/mount.h>
--#include <linux/nospec.h>
-
- #include <asm/kmap_types.h>
- #include <asm/uaccess.h>
-@@ -1072,7 +1071,6 @@ static struct kioctx *lookup_ioctx(unsigned long ctx_id)
- if (!table || id >= table->nr)
- goto out;
-
-- id = array_index_nospec(id, table->nr);
- ctx = rcu_dereference(table->table[id]);
- if (ctx && ctx->user_id == ctx_id) {
- if (percpu_ref_tryget_live(&ctx->users))