tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit.
Kuniyuki Iwashima authored
[ Upstream commit 2afdbe7b ]

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

Fixes: 032ee423

 ("tcp: helpers to mitigate ACK loops by rate-limiting out-of-window dupacks")
Signed-off-by: default avatarKuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
2b9aa0d8
Name Last commit Last update
Documentation x86/bugs: Add retbleed=ibpb
LICENSES LICENSES/LGPL-2.1: Add LGPL-2.1-or-later as valid identifiers
arch s390/archrandom: prevent CPACF trng invocations in interrupt context
block block: pop cached rq before potentially blocking rq_qos_throttle()
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist
crypto crypto: memneq - move into lib/
drivers mlxsw: spectrum_router: simplify list unwinding
fs fs: sendfile handles O_NONBLOCK of out_fd
include ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr
init gcc-12: disable '-Warray-bounds' universally for now
ipc ipc/mqueue: use get_tree_nodev() in mqueue_get_tree()
kernel watch_queue: Fix missing locking in add_watch_to_object()
lib ida: don't use BUG_ON() for debugging
mm hugetlb: fix memoryleak in hugetlb_mcopy_atomic_pte
net tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit.
samples samples/landlock: Format with clang-format
scripts x86/retbleed: Add fine grained Kconfig knobs
security lockdown: Fix kexec lockdown bypass with ima policy
sound ASoC: SOF: Intel: disable IMR boot when resuming from ACPI S4 and S5 states
tools KVM: selftests: Fix target thread to be migrated in rseq_test
usr Merge tag 'kbuild-v5.18-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
virt KVM: Don't null dereference ops->destroy
.clang-format genirq/msi: Make interrupt allocation less convoluted
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.