net: annotate data-races around sk->sk_tx_queue_mapping
authorEric Dumazet <edumazet@google.com>
Thu, 21 Sep 2023 20:28:17 +0000 (20:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Oct 2023 18:09:54 +0000 (19:09 +0100)
commit0bb4d124d34044179b42a769a0c76f389ae973b6
tree990656059091cbdd62fd54855107d065cfefca55
parent5eef0b8de1be40c5d05873b7e3d63824300c9f39
net: annotate data-races around sk->sk_tx_queue_mapping

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

Add annotations to avoid load-store tearing.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h