diff options
| author | 2020-07-20 09:37:31 +0200 | |
|---|---|---|
| committer | 2020-07-20 09:37:31 +0200 | |
| commit | 263771dbc85bc6573b344c193351980c27fd2faa (patch) | |
| tree | 0232ad4d61cb06d4d75af183b4c6d2058ba27f34 /kernel/fork.c | |
| parent | staging: rtl8188eu: include: fixed multiple blank space coding style issues (diff) | |
| parent | Linux 5.8-rc6 (diff) | |
| download | linux-dev-263771dbc85bc6573b344c193351980c27fd2faa.tar.xz linux-dev-263771dbc85bc6573b344c193351980c27fd2faa.zip | |
Merge 5.8-rc6 into staging-next
We need the staging fixes in here, and it resolves a merge issue with an
iio driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/fork.c')
| -rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 142b23645d82..efc5493203ae 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1977,7 +1977,7 @@ static __latent_entropy struct task_struct *copy_process( * to stop root fork bombs. */ retval = -EAGAIN; - if (nr_threads >= max_threads) + if (data_race(nr_threads >= max_threads)) goto bad_fork_cleanup_count; delayacct_tsk_init(p); /* Must remain after dup_task_struct() */ |
