net: annotate data-races around sk->sk_bind_phc
authorEric Dumazet <edumazet@google.com>
Thu, 31 Aug 2023 13:52:12 +0000 (13:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2023 06:27:33 +0000 (07:27 +0100)
commit251cd405a9e6e70b92fe5afbdd17fd5caf9d3266
tree2f6da55bba512e4b3f850f583298d661d701e7cd
parente3390b30a5dfb112e8e802a59c0f68f947b638b2
net: annotate data-races around sk->sk_bind_phc

sk->sk_bind_phc is read locklessly. Add corresponding annotations.

Fixes: d463126e23f1 ("net: sock: extend SO_TIMESTAMPING for PHC binding")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c
net/socket.c