summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-05-20 09:40:09 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-05-20 09:40:09 +0200
commit9d5272f5e36155bcead69417fd12e98624e7faef (patch)
tree770af81c03932ad4e508a12cca6f83fbb3527689 /kernel/exit.c
parentrcuwait: avoid lockdep splats from rcuwait_active() (diff)
parentx86/kvm: Restrict ASYNC_PF to user space (diff)
downloadlinux-9d5272f5e36155bcead69417fd12e98624e7faef.tar.xz
linux-9d5272f5e36155bcead69417fd12e98624e7faef.zip
Merge tag 'noinstr-x86-kvm-2020-05-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into HEAD
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index f3beb637acf7..9f4beff080b0 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -219,6 +219,7 @@ repeat:
write_unlock_irq(&tasklist_lock);
proc_flush_pid(thread_pid);
+ put_pid(thread_pid);
release_thread(p);
put_task_struct_rcu_user(p);