Commit 61bf15c5 authored by Eric Dumazet's avatar Eric Dumazet Committed by nirmp
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: I9a5c9b17c734a6839a81aedc1462e9edb9f8f5c6
Signed-off-by: default avatarnirmp <quic_nirmp@quicinc.com>
parent 1eb62f6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment