Commit 9bdffb06 authored by Eric Dumazet's avatar Eric Dumazet Committed by Treehugger Robot
Browse files

UPSTREAM: tcp: annotate data-races around tp->window_clamp



tp->window_clamp can be read locklessly, add READ_ONCE()
and WRITE_ONCE() annotations.

Bug: 356178496
Change-Id: I047723525b7a5e384252d193968b70b4f555e7df
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Reviewed-by: default avatarJason Xing <kerneljasonxing@gmail.com>
Link: https://lore.kernel.org/r/20240404114231.2195171-1-edumazet@google.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
(cherry picked from commit f410cbea)
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>
parent a784c434
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment