Commit 7998c0a
committed
Merge branch 'tcp-add-missing-annotations'
Eric Dumazet says:
====================
tcp: add missing annotations
This series was inspired by one syzbot (KCSAN) report.
do_tcp_getsockopt() does not lock the socket, we need to
annotate most of the reads there (and other places as well).
This is a first round, another series will come later.
====================
Link: https://lore.kernel.org/r/20230719212857.3943972-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>File tree
6 files changed
+63
-40
lines changed- include
- linux
- net
- net/ipv4
6 files changed
+63
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
| 1512 | + | |
1512 | 1513 | | |
1513 | | - | |
1514 | | - | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
1515 | 1520 | | |
1516 | 1521 | | |
1517 | 1522 | | |
1518 | 1523 | | |
1519 | 1524 | | |
| 1525 | + | |
1520 | 1526 | | |
1521 | | - | |
1522 | | - | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
1523 | 1531 | | |
1524 | 1532 | | |
1525 | 1533 | | |
1526 | 1534 | | |
1527 | 1535 | | |
| 1536 | + | |
1528 | 1537 | | |
1529 | | - | |
1530 | | - | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
1531 | 1544 | | |
1532 | 1545 | | |
1533 | 1546 | | |
| |||
2048 | 2061 | | |
2049 | 2062 | | |
2050 | 2063 | | |
2051 | | - | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
2052 | 2069 | | |
2053 | 2070 | | |
2054 | 2071 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | | - | |
| 1022 | + | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3291 | 3291 | | |
3292 | 3292 | | |
3293 | 3293 | | |
3294 | | - | |
| 3294 | + | |
3295 | 3295 | | |
3296 | 3296 | | |
3297 | 3297 | | |
| |||
3300 | 3300 | | |
3301 | 3301 | | |
3302 | 3302 | | |
3303 | | - | |
| 3303 | + | |
3304 | 3304 | | |
3305 | 3305 | | |
3306 | 3306 | | |
| |||
3312 | 3312 | | |
3313 | 3313 | | |
3314 | 3314 | | |
3315 | | - | |
| 3315 | + | |
| 3316 | + | |
3316 | 3317 | | |
3317 | 3318 | | |
3318 | 3319 | | |
| |||
3344 | 3345 | | |
3345 | 3346 | | |
3346 | 3347 | | |
3347 | | - | |
| 3348 | + | |
3348 | 3349 | | |
3349 | 3350 | | |
3350 | 3351 | | |
| |||
3356 | 3357 | | |
3357 | 3358 | | |
3358 | 3359 | | |
3359 | | - | |
| 3360 | + | |
| 3361 | + | |
3360 | 3362 | | |
3361 | 3363 | | |
3362 | 3364 | | |
| |||
3558 | 3560 | | |
3559 | 3561 | | |
3560 | 3562 | | |
3561 | | - | |
| 3563 | + | |
3562 | 3564 | | |
3563 | 3565 | | |
3564 | 3566 | | |
3565 | 3567 | | |
3566 | 3568 | | |
3567 | | - | |
| 3569 | + | |
3568 | 3570 | | |
3569 | 3571 | | |
3570 | 3572 | | |
3571 | 3573 | | |
3572 | 3574 | | |
3573 | | - | |
| 3575 | + | |
3574 | 3576 | | |
3575 | 3577 | | |
3576 | 3578 | | |
| |||
3583 | 3585 | | |
3584 | 3586 | | |
3585 | 3587 | | |
3586 | | - | |
| 3588 | + | |
3587 | 3589 | | |
3588 | | - | |
| 3590 | + | |
3589 | 3591 | | |
3590 | | - | |
| 3592 | + | |
3591 | 3593 | | |
3592 | 3594 | | |
3593 | 3595 | | |
3594 | 3596 | | |
3595 | | - | |
3596 | | - | |
3597 | | - | |
| 3597 | + | |
| 3598 | + | |
| 3599 | + | |
3598 | 3600 | | |
3599 | 3601 | | |
3600 | 3602 | | |
| |||
3618 | 3620 | | |
3619 | 3621 | | |
3620 | 3622 | | |
3621 | | - | |
| 3623 | + | |
3622 | 3624 | | |
3623 | 3625 | | |
3624 | 3626 | | |
| |||
3656 | 3658 | | |
3657 | 3659 | | |
3658 | 3660 | | |
3659 | | - | |
| 3661 | + | |
3660 | 3662 | | |
3661 | 3663 | | |
3662 | 3664 | | |
3663 | 3665 | | |
3664 | 3666 | | |
3665 | | - | |
| 3667 | + | |
3666 | 3668 | | |
3667 | 3669 | | |
3668 | 3670 | | |
| |||
3674 | 3676 | | |
3675 | 3677 | | |
3676 | 3678 | | |
3677 | | - | |
| 3679 | + | |
3678 | 3680 | | |
3679 | 3681 | | |
3680 | 3682 | | |
| |||
3991 | 3993 | | |
3992 | 3994 | | |
3993 | 3995 | | |
3994 | | - | |
| 3996 | + | |
3995 | 3997 | | |
3996 | 3998 | | |
3997 | 3999 | | |
3998 | | - | |
| 4000 | + | |
3999 | 4001 | | |
4000 | 4002 | | |
4001 | 4003 | | |
4002 | 4004 | | |
4003 | | - | |
4004 | | - | |
| 4005 | + | |
| 4006 | + | |
| 4007 | + | |
4005 | 4008 | | |
4006 | 4009 | | |
4007 | 4010 | | |
| |||
4138 | 4141 | | |
4139 | 4142 | | |
4140 | 4143 | | |
4141 | | - | |
| 4144 | + | |
4142 | 4145 | | |
4143 | 4146 | | |
4144 | 4147 | | |
4145 | | - | |
| 4148 | + | |
4146 | 4149 | | |
4147 | 4150 | | |
4148 | 4151 | | |
| |||
4154 | 4157 | | |
4155 | 4158 | | |
4156 | 4159 | | |
4157 | | - | |
| 4160 | + | |
4158 | 4161 | | |
4159 | 4162 | | |
4160 | 4163 | | |
4161 | | - | |
| 4164 | + | |
4162 | 4165 | | |
4163 | 4166 | | |
4164 | | - | |
| 4167 | + | |
4165 | 4168 | | |
4166 | 4169 | | |
4167 | 4170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
| |||
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
311 | | - | |
| 312 | + | |
| 313 | + | |
312 | 314 | | |
313 | 315 | | |
314 | | - | |
| 316 | + | |
315 | 317 | | |
316 | 318 | | |
317 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
311 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
312 | 313 | | |
313 | 314 | | |
314 | 315 | | |
| |||
0 commit comments