Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: annotate data-race around sk->sk_txrehash
[ Upstream commit c76a032 ] sk_getsockopt() runs locklessly. This means sk->sk_txrehash can be read while other threads are changing its value. Other locations were handled in commit cb6cd2c ("tcp: Change SYN ACK retransmit behaviour to account for rehash") Fixes: 2685924 ("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>
- Loading branch information