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:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-05-21 01:22:46 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-05-22 21:38:18 +0000
commit2315d89136c7147931b3cd658fc43f2441c7ceb0 (patch)
treeef2822a2389ea08d4f6d772771cac5a1e59583e3 /recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_aio_fix_spectre_gadget_in_lookup_ioctx.patch
parent64802e9b6c8bbe62d7d5cbc0df681f34951ba984 (diff)
linux kernel rt 4.9: update to latest rt patch
Update linux-toradex-rt_4.9-2.3.x to patch-4.9.220-rt143. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@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))