Commit 6e5e1de
tcp: annotate data-races around tp->keepalive_probes
do_tcp_getsockopt() reads tp->keepalive_probes while another cpu
might change its value.
Fixes: 1da177e ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230719212857.3943972-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 5ecf9d4 commit 6e5e1de
2 files changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1533 | 1533 | | |
1534 | 1534 | | |
1535 | 1535 | | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
1536 | 1542 | | |
1537 | | - | |
1538 | | - | |
| 1543 | + | |
1539 | 1544 | | |
1540 | 1545 | | |
1541 | 1546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3357 | 3357 | | |
3358 | 3358 | | |
3359 | 3359 | | |
3360 | | - | |
| 3360 | + | |
| 3361 | + | |
3361 | 3362 | | |
3362 | 3363 | | |
3363 | 3364 | | |
| |||
3565 | 3566 | | |
3566 | 3567 | | |
3567 | 3568 | | |
3568 | | - | |
| 3569 | + | |
3569 | 3570 | | |
3570 | 3571 | | |
3571 | 3572 | | |
| |||
0 commit comments