tcp: annotate data-races around rskq_defer_accept
authorEric Dumazet <edumazet@google.com>
Wed, 19 Jul 2023 21:28:54 +0000 (21:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Jul 2023 19:34:18 +0000 (12:34 -0700)
commitae488c74422fb1dcd807c0201804b3b5e8a322a3
treee589060ef6e0ae0f6b6f5a8fc63631c2bfbf308e
parent9df5335ca974e688389c875546e5819778a80d59
tcp: annotate data-races around rskq_defer_accept

do_tcp_getsockopt() reads rskq_defer_accept while another cpu
might change its value.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230719212857.3943972-9-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp.c