Eric Dumazet 60b173ca3d net: add {READ|WRITE}_ONCE() annotations on ->rskq_accept_head
reqsk_queue_empty() is called from inet_csk_listen_poll() while
other cpus might write ->rskq_accept_head value.

Use {READ|WRITE}_ONCE() to avoid compiler tricks
and potential KCSAN splats.

Fixes: fff1f3001cc5 ("tcp: add a spinlock to protect struct request_sock_queue")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
2019-10-09 21:34:31 -07:00
..
2018-11-10 08:58:48 -06:00
2019-07-17 08:09:58 +02:00
2019-07-17 08:09:58 +02:00
2019-09-12 15:02:55 -04:00
2019-07-31 08:14:12 +02:00
2019-05-31 10:53:34 -07:00
2018-02-01 10:07:32 -05:00
2019-09-26 11:22:14 -07:00
2019-07-17 08:09:58 +02:00
2019-07-31 08:14:12 +02:00