]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tcp/dccp: complete lockless accesses to sk->sk_max_ack_backlog
authorJason Xing <kernelxing@tencent.com>
Sun, 31 Mar 2024 09:05:21 +0000 (17:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:15:49 +0000 (17:15 +0100)
commitbcd1557f1d38570f90391fa3dbc627cf578ee83b
treecb63986b7f039c96fce8c66ba8428899a16d5350
parente67fff8fd12ca2eb14a62e8368a67d46af1979b9
tcp/dccp: complete lockless accesses to sk->sk_max_ack_backlog

[ Upstream commit 9a79c65f00e2b036e17af3a3a607d7d732b7affb ]

Since commit 099ecf59f05b ("net: annotate lockless accesses to
sk->sk_max_ack_backlog") decided to handle the sk_max_ack_backlog
locklessly, there is one more function mostly called in TCP/DCCP
cases. So this patch completes it:)

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240331090521.71965-1-kerneljasonxing@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 3479c7549fb1 ("tcp/dccp: allow a connection when sk_max_ack_backlog is zero")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/inet_connection_sock.h