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 e8e854a04ad2..bb5fe56a7a9c 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1006,6 +1006,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1006 * triggers too late. This doesn't hurt, the check is only there 1006 * triggers too late. This doesn't hurt, the check is only there
1007 * to stop root fork bombs. 1007 * to stop root fork bombs.
1008 */ 1008 */
1009 retval = -EAGAIN;
1009 if (nr_threads >= max_threads) 1010 if (nr_threads >= max_threads)
1010 goto bad_fork_cleanup_count; 1011 goto bad_fork_cleanup_count;
1011 1012