af_unix: annotate lockless accesses to sk->sk_err
[ Upstream commit cc04410a ] unix_poll() and unix_dgram_poll() read sk->sk_err without any lock held. Add relevant READ_ONCE()/WRITE_ONCE() annotations. Signed-off-by:Eric Dumazet <edumazet@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: 83690b82 ("af_unix: Use skb_queue_empty_lockless() in unix_release_sock().") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading