summaryrefslogtreecommitdiff
path: root/patches/posix-timers-Unlock-expiry-lock-in-the-early-return.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/posix-timers-Unlock-expiry-lock-in-the-early-return.patch')
-rw-r--r--patches/posix-timers-Unlock-expiry-lock-in-the-early-return.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/patches/posix-timers-Unlock-expiry-lock-in-the-early-return.patch b/patches/posix-timers-Unlock-expiry-lock-in-the-early-return.patch
deleted file mode 100644
index bd975b59995d..000000000000
--- a/patches/posix-timers-Unlock-expiry-lock-in-the-early-return.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
-Date: Mon, 16 Sep 2019 12:33:59 +0200
-Subject: [PATCH] posix-timers: Unlock expiry lock in the early return
-
-Patch ("posix-timers: Add expiry lock") acquired a lock in
-run_posix_cpu_timers() but didn't drop the lock in the early return.
-
-Unlock the lock in the early return path.
-
-Reported-by: kbuild test robot <lkp@intel.com>
-Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
-Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
-Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
----
- kernel/time/posix-cpu-timers.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
---- a/kernel/time/posix-cpu-timers.c
-+++ b/kernel/time/posix-cpu-timers.c
-@@ -1170,8 +1170,10 @@ void run_posix_cpu_timers(struct task_st
- expiry_lock = this_cpu_ptr(&cpu_timer_expiry_lock);
- spin_lock(expiry_lock);
-
-- if (!lock_task_sighand(tsk, &flags))
-+ if (!lock_task_sighand(tsk, &flags)) {
-+ spin_unlock(expiry_lock);
- return;
-+ }
- /*
- * Here we take off tsk->signal->cpu_timers[N] and
- * tsk->cpu_timers[N] all the timers that are firing, and