Commit c76a032
net: annotate data-race around sk->sk_txrehash
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>1 parent fe11fdc commit c76a032
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
1537 | | - | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
1538 | 1540 | | |
1539 | 1541 | | |
1540 | 1542 | | |
| |||
1978 | 1980 | | |
1979 | 1981 | | |
1980 | 1982 | | |
1981 | | - | |
| 1983 | + | |
| 1984 | + | |
1982 | 1985 | | |
1983 | 1986 | | |
1984 | 1987 | | |
| |||
0 commit comments