aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 99309df985bf..c078438ba6fc 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1010,6 +1010,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1010 * triggers too late. This doesn't hurt, the check is only there 1010 * triggers too late. This doesn't hurt, the check is only there
1011 * to stop root fork bombs. 1011 * to stop root fork bombs.
1012 */ 1012 */
1013 retval = -EAGAIN;
1013 if (nr_threads >= max_threads) 1014 if (nr_threads >= max_threads)
1014 goto bad_fork_cleanup_count; 1015 goto bad_fork_cleanup_count;
1015 1016