Skip to content
Commit 6e666884 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds
Browse files

kernel/pid.c: reenable interrupts when alloc_pid() fails because init has exited



We're forgetting to reenable local interrupts on an error path.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
Reported-by: default avatarJosh Boyer <jwboyer@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4ba902b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment