Skip to content
Snippets Groups Projects
user avatar
Guillaume Nault authored
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2149949


Upstream Status: linux.git
Conflicts: Missing upstream commit fbb82952 ("tcp: allocate
           tcp_death_row outside of struct netns_ipv4"):
           tw_count hasn't been converted to a refcount in Centos
           Stream.

commit 6f605b57
Author: Kuniyuki Iwashima <kuniyu@amazon.com>
Date:   Mon Jul 11 17:15:21 2022 -0700

    tcp: Fix a data-race around sysctl_max_tw_buckets.

    While reading sysctl_max_tw_buckets, it can be changed concurrently.
    Thus, we need to add READ_ONCE() to its reader.

    Fixes: 1da177e4 ("Linux-2.6.12-rc2")
Signed-off-by: default avatarKuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>

Signed-off-by: default avatarGuillaume Nault <gnault@redhat.com>
46cdf212
Name Last commit Last update