Eric Dumazet cd398daabe tcp: annotate data races in __tcp_oow_rate_limited()
[ Upstream commit 998127cdb4699b9d470a9348ffe9f1154346be5f ]

request sockets are lockless, __tcp_oow_rate_limited() could be called
on the same object from different cpus. This is harmless.

Add READ_ONCE()/WRITE_ONCE() annotations to avoid a KCSAN report.

Fixes: 4ce7e93cb3fe ("tcp: rate limit ACK sent by SYN_RECV request sockets")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:22:05 +02:00
..
2021-05-17 15:29:35 -07:00
2023-04-13 16:55:21 +02:00
2021-10-13 09:41:37 -07:00
2021-05-17 15:29:35 -07:00
2022-09-20 10:21:49 -07:00
2023-06-14 11:15:20 +02:00
2021-05-17 15:29:35 -07:00