Files
Linux/kernel
Oleg Nesterov 314a8ad0f1 pidns: fix free_pid() to handle the first fork failure
"case 0" in free_pid() assumes that disable_pid_allocation() should
clear PIDNS_HASH_ADDING before the last pid goes away.

However this doesn't happen if the first fork() fails to create the
child reaper which should call disable_pid_allocation().

Signed-off-by: Oleg Nesterov <[email protected]>
Reviewed-by: "Eric W. Biederman" <[email protected]>
Cc: "Serge E. Hallyn" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2013-09-30 14:31:03 -07:00
..
2013-09-13 15:09:52 +02:00
2013-04-22 07:09:06 -07:00
…
…
…
…
…
2013-06-25 23:11:19 +02:00
…
…
2013-09-11 15:59:10 -07:00
2013-09-13 15:09:52 +02:00
…
2013-05-05 00:16:35 -04:00
…
…
2013-09-13 15:09:52 +02:00
2013-09-11 15:58:27 -07:00
…