Eric Dumazet
ab4e846a82
tcp: annotate sk->sk_wmem_queued lockless reads
...
For the sake of tcp_poll(), there are few places where we fetch
sk->sk_wmem_queued while this field can change from IRQ or other cpu.
We need to add READ_ONCE() annotations, and also make sure write
sides use corresponding WRITE_ONCE() to avoid store-tearing.
sk_wmem_queued_add() helper is added so that we can in
the future convert to ADD_ONCE() or equivalent if/when
available.
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-10-13 10:13:08 -07:00
..
2019-09-05 17:27:21 +02:00
2019-09-25 11:01:19 +02:00
2019-09-04 13:29:14 +02:00
2019-06-19 17:09:07 +02:00
2019-06-05 17:37:07 +02:00
2019-10-09 16:27:04 -07:00
2019-09-16 09:18:03 +02:00
2019-09-16 09:18:03 +02:00
2019-08-19 17:19:46 -07:00
2019-06-19 17:09:55 +02:00
2019-07-04 12:30:48 -07:00
2019-07-04 12:30:48 -07:00
2019-08-17 23:18:54 +02:00
2019-06-19 17:09:55 +02:00
2019-10-07 22:10:50 +02:00
2019-09-13 22:11:14 +02:00
2019-08-17 12:40:08 -07:00
2019-09-16 21:32:57 +02:00
2019-07-01 10:48:34 -07:00
2019-06-19 17:09:55 +02:00
2019-07-11 14:22:53 -07:00
2019-07-09 12:11:59 -07:00
2019-09-16 09:18:02 +02:00
2019-07-01 10:58:23 -07:00
2019-06-09 19:40:10 -07:00
2019-08-28 14:43:03 -07:00
2019-07-03 13:51:54 -07:00
2019-08-31 23:44:28 -07:00
2019-08-08 15:55:10 -07:00
2019-09-13 21:44:19 +02:00
2019-09-27 12:05:02 +02:00
2019-06-24 10:18:49 -07:00
2019-06-27 21:06:39 -07:00
2019-06-18 20:48:45 -04:00
2019-09-05 12:35:58 +02:00
2019-07-08 19:48:57 -07:00
2019-09-13 21:44:19 +02:00
2019-06-19 11:37:47 -04:00
2019-09-27 12:05:02 +02:00
2019-06-19 17:09:55 +02:00
2019-10-08 13:23:05 -07:00
2019-09-11 09:33:29 +02:00
2019-07-22 12:10:54 -07:00
2019-09-18 12:34:53 -07:00
2019-08-13 20:37:16 -07:00
2019-09-05 12:35:58 +02:00
2019-07-08 14:58:04 -07:00
2019-08-26 14:17:43 -07:00
2019-09-17 23:51:10 +02:00
2019-09-16 09:18:03 +02:00
2019-10-09 21:34:31 -07:00
2019-09-20 18:23:33 -07:00
2019-09-27 10:29:11 +02:00
2019-09-16 09:02:18 +02:00
2019-10-13 10:13:08 -07:00
2019-06-19 17:09:55 +02:00
2019-10-13 10:13:08 -07:00
2019-09-05 09:49:49 +02:00
2019-08-30 19:49:37 -07:00
2019-09-05 09:38:32 +02:00
2019-06-19 11:23:13 -04:00
2019-08-31 01:08:26 +02:00
2019-06-19 11:23:13 -04:00
2019-07-17 10:03:54 +02:00