tcp: annotate data-races around icsk->icsk_user_timeout
authorEric Dumazet <edumazet@google.com>
Wed, 19 Jul 2023 21:28:56 +0000 (21:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Jul 2023 19:34:18 +0000 (12:34 -0700)
commit26023e91e12c68669db416b97234328a03d8e499
tree347237ef21eb0c921bbba69377f7345de10a5e27
parent1aeb87bc1440c5447a7fa2d6e3c2cca52cbd206b
tcp: annotate data-races around icsk->icsk_user_timeout

This field can be read locklessly from do_tcp_getsockopt()

Fixes: dca43c75e7e5 ("tcp: Add TCP_USER_TIMEOUT socket option.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230719212857.3943972-11-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp.c