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 <oleg@redhat.com>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-09-30 14:31:03 -07:00
..
2013-09-20 09:45:11 +02:00
2013-09-12 15:38:03 -07:00
2013-09-13 15:09:52 +02:00
2013-09-12 11:22:45 -07:00
2013-09-03 11:38:36 -07:00
2013-09-20 11:59:39 +02:00
2013-09-18 11:24:49 -05:00
2013-09-09 14:42:15 -07:00
2013-09-24 17:00:26 -07:00
2013-07-09 10:33:19 -07:00
2013-07-09 10:33:19 -07:00
2013-07-09 10:33:19 -07:00
2013-09-09 11:19:09 -07:00
2013-08-08 20:11:27 -04:00
2013-09-07 19:54:57 -04:00
2013-09-27 17:59:47 +02:00
2013-08-13 12:20:16 +02:00
2013-09-03 18:25:03 -07:00
2013-07-09 10:33:26 -07:00
2013-09-11 15:58:25 -07:00
2013-09-13 10:55:58 -07:00
2013-07-30 14:05:06 +02:00
2013-08-30 23:44:11 -07:00
2013-07-14 19:36:59 -04:00
2013-08-02 11:02:42 +02:00
2013-08-09 07:53:54 -07:00
2013-09-11 15:59:10 -07:00
2013-09-30 14:31:02 -07:00
2013-09-11 15:58:52 -07:00
2013-09-12 15:38:03 -07:00
2013-07-12 13:51:19 +02:00
2013-09-13 15:09:52 +02:00
2013-09-11 15:58:21 -07:00
2013-09-05 08:50:26 -07:00
2013-09-04 08:18:19 -07:00
2013-09-07 14:35:32 -07:00
2013-08-29 14:37:59 +10:00
2013-09-11 15:59:30 -07:00
2013-09-28 12:35:52 -07:00
2013-09-07 14:35:32 -07:00
2013-09-30 14:31:03 -07:00
2013-07-14 19:36:59 -04:00
2013-09-11 15:59:01 -07:00
2013-08-18 17:40:03 -07:00
2013-09-09 14:42:15 -07:00
2013-07-29 17:07:49 -04:00
2013-07-29 17:07:49 -04:00
2013-08-20 11:38:45 -07:00
2013-08-31 14:44:02 -07:00
2013-08-31 14:44:45 -07:00
2013-08-31 14:44:02 -07:00
2013-09-24 17:00:26 -07:00
2013-07-14 19:36:59 -04:00
2013-09-12 15:38:02 -07:00
2013-07-03 16:08:06 -07:00
2013-09-11 15:58:18 -07:00
2013-09-11 15:58:25 -07:00
2013-07-14 19:36:59 -04:00
2013-09-13 15:09:52 +02:00
2013-09-11 15:58:21 -07:00
2013-08-30 23:44:11 -07:00
2013-09-12 15:01:38 -07:00
2013-09-11 15:58:27 -07:00
2013-07-14 19:36:59 -04:00
2013-08-30 23:44:11 -07:00
2013-09-11 15:58:25 -07:00
2013-09-07 14:35:32 -07:00
2013-08-26 19:17:03 -07:00
2013-08-30 23:44:11 -07:00
2013-08-19 09:08:54 -07:00
2013-09-24 17:00:25 -07:00
2013-09-06 09:36:28 -07:00