Skip to content
Commit 9ae8e5ad authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

mptcp: annotate lockless accesses to sk->sk_err



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: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e13ec3da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment