Commit 01c45a5c authored by Eric Dumazet's avatar Eric Dumazet Committed by sthatika
Browse files

net: annotate data-races around sk->sk_dst_pending_confirm



[ Upstream commit eb44ad4e ]

This field can be read or written without socket lock being held.

Add annotations to avoid load-store tearing.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit 252bde6b)

Change-Id: I665be377825ffe5af78f9764b477604cc28a57af
Signed-off-by: default avatarsthatika <quic_sthatika@quicinc.com>
parent 0bb1636e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment