net: annotate lockless accesses to sk->sk_ack_backlog
[ Upstream commit 288efe8606b62d0753ba6722b36ef241877251fd ] sk->sk_ack_backlog can be read without any lock being held. We need to use READ_ONCE()/WRITE_ONCE() to avoid load/store tearing and/or potential KCSAN warnings. Signed-off-by:Eric Dumazet <edumazet@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: 4d5c70e6155d ("sctp: ensure sk_state is set to CLOSED if hashing fails in sctp_listen_start") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading