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-03-29 08:22:52 +01:00
2023-08-09 15:32:43 -07:00
2023-08-18 12:44:56 -07:00
2023-06-24 15:50:13 -07:00
2023-06-24 15:50:13 -07:00
2023-06-24 15:50:13 -07:00
2023-08-14 18:01:21 +02:00
2023-08-21 07:41:57 +01:00
2023-08-07 13:05:19 -07:00
2023-05-31 13:06:57 +02:00
2023-07-27 17:11:29 -07:00
2023-06-24 15:50:13 -07:00
2023-07-29 18:13:41 +01:00
2023-08-02 09:07:34 +02:00
2023-08-21 07:41:57 +01:00
2023-08-01 21:07:46 -07:00
2023-08-16 11:09:17 +01:00
2023-08-15 15:00:45 -07:00
2023-08-09 13:08:09 -07:00
2023-08-15 15:01:03 -07:00
2023-07-28 14:07:59 -07:00
2023-07-31 20:11:47 -07:00
2023-08-15 15:00:45 -07:00
2023-08-21 07:35:59 +01:00
2023-08-20 15:27:21 +01:00
2023-03-16 17:34:40 -07:00
2023-06-24 15:50:13 -07:00
2023-08-18 12:44:56 -07:00
2023-08-16 11:09:16 +01:00
2023-08-09 15:34:28 -07:00
2023-07-03 11:26:05 -07:00
2023-06-24 15:41:46 -07:00
2023-06-24 15:50:13 -07:00
2023-06-10 00:11:41 -07:00
2023-08-16 20:09:43 -07:00
2023-08-15 14:54:44 -07:00
2023-08-18 12:44:56 -07:00
2023-08-02 12:28:22 -07:00
2023-08-15 15:01:03 -07:00
2023-06-24 15:50:13 -07:00
2023-08-15 15:00:45 -07:00
2023-06-10 00:11:41 -07:00
2023-08-18 12:44:56 -07:00
2023-08-10 14:10:53 -07:00
2023-06-24 15:50:13 -07:00
2023-07-17 09:02:30 +01:00
2023-08-13 12:25:42 +01:00
2023-04-06 20:36:27 +02:00
2023-06-24 15:50:13 -07:00
2023-06-28 16:43:10 -07:00
2023-08-21 07:41:57 +01:00
2023-08-16 11:09:17 +01:00
2023-08-21 07:41:57 +01:00
2023-08-18 12:44:56 -07:00
2023-07-21 08:54:03 +01:00
2023-08-15 15:00:45 -07:00
2023-08-10 14:10:53 -07:00
2023-08-09 15:32:43 -07:00
2023-07-31 14:41:08 -07:00
2023-08-09 14:43:35 +02:00
2023-06-24 15:50:13 -07:00
2023-08-10 14:10:53 -07:00
2023-08-18 12:44:56 -07:00
2023-04-14 11:09:27 +01:00
2023-07-19 10:07:27 -07:00
2023-04-19 18:48:48 -07:00
2023-08-16 10:22:16 -07:00