tcp: annotate data-races around fastopenq.max_qlen
authorEric Dumazet <edumazet@google.com>
Wed, 19 Jul 2023 21:28:57 +0000 (21:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Jul 2023 19:34:18 +0000 (12:34 -0700)
commit70f360dd7042cb843635ece9d28335a4addff9eb
treebc0434cfbd9a1d6ecf48ff10f073e031e60808e9
parent26023e91e12c68669db416b97234328a03d8e499
tcp: annotate data-races around fastopenq.max_qlen

This field can be read locklessly.

Fixes: 1536e2857bd3 ("tcp: Add a TCP_FASTOPEN socket option to get a max backlog on its listner")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230719212857.3943972-12-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_fastopen.c