diff options
author | Eric Dumazet | 2023-03-15 20:57:45 +0000 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-10-10 22:00:34 +0200 |
commit | c1432ece79e682cea66112dfb010e2a1ca3be9d5 (patch) | |
tree | 443861f9db3b73e4fe523aa8f248c247c132bc3b /mm/mincore.c | |
parent | 09b6fdf7a12e535dc39207b45b42b9bc9b578c75 (diff) |
mptcp: annotate lockless accesses to sk->sk_err
[ Upstream commit 9ae8e5ad99b8ebcd3d3dd46075f3825e6f08f063 ]
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: d5fbeff1ab81 ("mptcp: move __mptcp_error_report in protocol.c")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions