summary refs log tree commit diff
path: root/net/core/sock_map.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-07-28 15:03:10 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-11 12:08:14 +0200
commitbe43c8f1c9164adc14dbcaf06bb5ab921d82586a (patch)
tree65a8719d9eb3c5feb68c0c41ac170a64760e9bfb /net/core/sock_map.c
parent0317c8322d9ac86a2bf251f94efc7fe96643e0fb (diff)
downloadlinux-be43c8f1c9164adc14dbcaf06bb5ab921d82586a.tar.gz
net: annotate data-races around sk->sk_max_pacing_rate
[ Upstream commit ea7f45ef77b39e72244d282e47f6cb1ef4135cd2 ]

sk_getsockopt() runs locklessly. This means sk->sk_max_pacing_rate
can be read while other threads are changing its value.

Fixes: 62748f32d501 ("net: introduce SO_MAX_PACING_RATE")
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>
Diffstat (limited to 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions