Eric Dumazet
bc1fb82ae1
net: annotate data-races around sk->sk_lingertime
...
sk_getsockopt() runs locklessly. This means sk->sk_lingertime
can be read while other threads are changing its value.
Other reads also happen without socket lock being held,
and must be annotated.
Remove preprocessor logic using BITS_PER_LONG, compilers
are smart enough to figure this by themselves.
v2: fixed a clang W=1 (-Wtautological-constant-out-of-range-compare) warning
(Jakub)
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2023-08-21 07:41:57 +01:00
..
2023-07-10 08:23:53 +01:00
2022-12-09 09:18:07 +00:00
2023-03-01 08:19:09 +00:00
2023-04-19 13:04:30 +01:00
2023-07-20 10:06:36 +02:00
2023-02-13 20:09:01 -08:00
2022-12-13 15:47:48 -08:00
2023-02-16 10:39:28 +01:00
2022-12-09 09:18:07 +00:00
2023-06-29 12:10:37 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2023-05-01 07:26:10 +01:00
2023-03-22 22:43:23 -07:00
2023-02-16 10:39:28 +01:00
2023-07-04 10:31:38 +02:00
2023-06-10 00:11:41 -07:00
2023-02-26 18:27:45 +00:00
2022-12-09 09:18:07 +00:00
2022-12-09 09:18:07 +00:00
2022-12-09 09:18:07 +00:00
2023-03-30 23:24:24 -07:00
2022-12-09 09:18:07 +00:00
2023-06-14 23:03:16 -07:00
2022-12-09 09:18:07 +00:00
2023-07-17 07:33:39 +01:00
2022-12-09 09:18:07 +00:00
2022-12-25 13:38:09 -08:00
2023-08-03 14:34:37 -07:00
2023-07-31 20:10:36 -07:00
2023-07-17 07:33:38 +01:00
2023-07-31 20:10:37 -07:00
2023-07-31 20:10:36 -07:00
2020-07-13 17:20:40 -07:00
2020-11-10 17:00:28 -08:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2023-08-21 07:41:57 +01:00
2021-02-06 11:15:28 -08:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-12-19 09:43:18 +00:00
2023-07-19 10:07:27 -07:00
2023-02-16 09:27:07 +01:00
2023-06-14 10:31:39 +02:00
2020-07-16 16:48:34 -07:00
2023-06-10 00:11:41 -07:00
2022-09-22 17:34:10 -07:00
2022-11-18 02:15:15 +01:00
2022-09-01 08:06:45 +02:00
2023-08-01 10:47:24 +02:00
2022-09-01 20:08:32 -07:00
2022-09-22 17:34:10 -07:00
2021-10-01 14:59:10 -07:00
2022-10-19 13:47:09 +01:00
2023-06-07 10:25:39 +01:00
2023-04-21 20:24:29 -07:00
2021-12-31 14:35:40 +00:00
2023-06-14 10:31:39 +02:00
2023-01-18 20:28:25 -08:00
2023-08-01 10:47:24 +02:00
2022-09-01 08:06:45 +02:00
2023-08-01 10:47:24 +02:00
2023-07-24 11:42:35 -07:00
2023-06-07 10:25:39 +01:00
2023-04-13 22:22:10 -07:00
2023-04-13 22:22:10 -07:00
2023-07-26 22:08:14 -07:00
2022-09-22 17:34:10 -07:00
2023-08-17 19:15:06 -07:00
2023-06-07 10:25:39 +01:00
2022-09-01 08:06:45 +02:00
2022-09-22 17:34:10 -07:00
2023-08-01 10:47:25 +02:00
2023-06-07 10:25:39 +01:00
2022-10-20 17:24:59 -07:00
2023-06-07 10:25:39 +01:00
2022-09-22 17:34:10 -07:00
2023-08-09 15:59:21 -07:00
2023-06-10 00:11:41 -07:00
2023-06-07 10:25:39 +01:00