projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ba902b
)
kernel/pid.c: reenable interrupts when alloc_pid() fails because init has exited
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 12 Feb 2013 21:46:23 +0000
(13:46 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 12 Feb 2013 22:34:00 +0000
(14:34 -0800)
We're forgetting to reenable local interrupts on an error path.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Reported-by: Josh Boyer <jwboyer@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/pid.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/pid.c
b/kernel/pid.c
index de9af600006f8cd73020b7d25b3dc4fc28be5eab..f2c6a68250989d4223b788bd368b6dd7a80e4e7d 100644
(file)
--- a/
kernel/pid.c
+++ b/
kernel/pid.c
@@
-331,7
+331,7
@@
out:
return pid;
out_unlock:
- spin_unlock(&pidmap_lock);
+ spin_unlock
_irq
(&pidmap_lock);
out_free:
while (++i <= ns->level)
free_pidmap(pid->numbers + i);