Eric Dumazet e292f05e0d tcp: annotate sk->sk_sndbuf lockless reads
For the sake of tcp_poll(), there are few places where we fetch
sk->sk_sndbuf 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.

Note that other transports probably need similar fixes.

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-05-21 12:33:38 -07:00
2019-08-19 18:22:54 -07:00
2019-08-20 12:48:06 -07:00
2019-09-26 08:56:17 +02:00
2019-05-28 21:37:30 -07:00
2019-09-13 21:44:19 +02:00
2019-10-03 11:47:10 -04:00