]> 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 17:14:42 +0000 (17:14 +0000)
commit37e1a89a8728342aac35d4750324cae91fffdb8f
treeece79a48daf579aeda7014a471e1bf9348dec970
parent437538c00f1995218b4beb6babd8c3b0516983f5
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