diff options
author | Eric W. Biederman <[email protected]> | 2013-03-26 02:27:11 -0700 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2013-03-26 03:41:23 -0700 |
commit | 751c644b95bb48aaa8825f0c66abbcc184d92051 (patch) | |
tree | ac5fa98b0281b5c8db1ac5859d15ac5c2b22e5f4 /net/lapb/lapb_in.c | |
parent | 92f28d973cce45ef5823209aab3138eb45d8b349 (diff) |
pid: Handle the exit of a multi-threaded init.
When a multi-threaded init exits and the initial thread is not the
last thread to exit the initial thread hangs around as a zombie
until the last thread exits. In that case zap_pid_ns_processes
needs to wait until there are only 2 hashed pids in the pid
namespace not one.
v2. Replace thread_pid_vnr(me) == 1 with the test thread_group_leader(me)
as suggested by Oleg.
Cc: [email protected]
Cc: Oleg Nesterov <[email protected]>
Reported-by: Caj Larsson <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions