Commit 9df5335
tcp: annotate data-races around tp->linger2
do_tcp_getsockopt() reads tp->linger2 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-8-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 3a037f0 commit 9df5335
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3585 | 3585 | | |
3586 | 3586 | | |
3587 | 3587 | | |
3588 | | - | |
| 3588 | + | |
3589 | 3589 | | |
3590 | | - | |
| 3590 | + | |
3591 | 3591 | | |
3592 | | - | |
| 3592 | + | |
3593 | 3593 | | |
3594 | 3594 | | |
3595 | 3595 | | |
| |||
3997 | 3997 | | |
3998 | 3998 | | |
3999 | 3999 | | |
4000 | | - | |
| 4000 | + | |
4001 | 4001 | | |
4002 | 4002 | | |
4003 | 4003 | | |
| |||
0 commit comments