mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
mptcp: annotate lockless accesses to sk->sk_err
[ Upstream commit9ae8e5ad99] mptcp_poll() reads sk->sk_err without socket lock held/owned. Add READ_ONCE() and WRITE_ONCE() to avoid load/store tearing. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Stable-dep-of:d5fbeff1ab("mptcp: move __mptcp_error_report in protocol.c") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
09b6fdf7a1
commit
c1432ece79
3 changed files with 7 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue