mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
net: annotate data-race around sk->sk_txrehash
[ Upstream commitc76a032889] sk_getsockopt() runs locklessly. This means sk->sk_txrehash can be read while other threads are changing its value. Other locations were handled in commitcb6cd2cec7("tcp: Change SYN ACK retransmit behaviour to account for rehash") Fixes:26859240e4("txhash: Add socket option to control TX hash rethink behavior") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Akhmat Karakotov <hmukos@yandex-team.ru> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
60d92bc9c0
commit
0317c8322d
1 changed files with 5 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue