]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: annotate data-races around fastopenq.max_qlen
authorEric Dumazet <edumazet@google.com>
Wed, 19 Jul 2023 21:28:57 +0000 (21:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 06:50:49 +0000 (08:50 +0200)
commitf311c7680014726ad16d779e3e2b5885033331d9
tree4aceec446ccb1a4a3cd9c78eaae7230f3ba95552
parent01a1563a09c03aecbcec7d4dd3b7aca5bb7fdcc7
tcp: annotate data-races around fastopenq.max_qlen

[ Upstream commit 70f360dd7042cb843635ece9d28335a4addff9eb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_fastopen.c