]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:56:16 +0000 (16:56 +0000)
commit19ab5fd26441ad47847f163d2ffb6069418d6f4b
treee1e53df6cac0e7fd62cc7bbe2f4aef5325d61fe9
parentf3be63f7a8eef18d2b685bf586181584bd89f524
net: annotate data-races around sk->sk_tx_queue_mapping

[ Upstream commit 0bb4d124d34044179b42a769a0c76f389ae973b6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/sock.h