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-10-08 16:29:35 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-09-13 12:33:06 +02:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07: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
2019-10-09 19:19:35 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-09-06 15:02:16 +02:00
2019-09-20 17:01:59 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-08-27 15:05:58 -07:00
2019-09-02 11:20:17 -07:00
2019-10-08 16:21:58 -07:00
2019-05-30 11:26:32 -07:00
2019-08-26 14:17:43 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-08-26 14:17:43 -07:00
2019-06-15 14:06:13 -07:00
2019-08-30 15:12:05 -07: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
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-08-26 14:17:43 -07:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-06-29 11:15:12 -07:00
2019-10-13 10:13:08 -07: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
2019-05-30 11:26:32 -07:00
2019-09-27 20:08:28 +02:00
2019-07-09 12:11:59 -07:00
2019-10-08 16:21:58 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2019-04-27 17:07:21 -04:00
2019-09-30 11:07:46 -07:00
2019-10-01 09:51:39 -07:00
2019-06-19 17:09:55 +02:00
2019-07-29 09:46:58 -07:00
2019-06-19 17:09:55 +02:00
2019-10-04 18:28:30 -07:00
2019-06-28 14:45:33 -07:00
2019-05-30 11:26:32 -07:00
2019-08-08 22:32:19 -07:00
2019-05-30 11:26:32 -07:00
2019-09-15 20:54:14 +02:00
2019-05-30 11:26:32 -07:00
2019-04-27 17:07:21 -04:00
2019-09-10 18:31:00 +01:00
2019-09-27 12:13:55 +02:00
2019-07-09 14:38:50 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-09-27 12:13:55 +02:00
2019-09-27 10:29:11 +02:00
2019-06-19 17:09:07 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-09-27 12:13:55 +02:00
2019-07-17 13:34:09 -07:00
2019-05-30 11:26:32 -07:00
2019-10-09 18:49:19 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00