diff options
| author | Eric Dumazet <[email protected]> | 2023-03-15 20:57:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-03-17 08:25:05 +0000 |
| commit | 9ae8e5ad99b8ebcd3d3dd46075f3825e6f08f063 (patch) | |
| tree | 3091b5beb21935da2d44eebc4489f59102a64161 /net/unix/af_unix.c | |
| parent | tcp: annotate lockless access to sk->sk_err (diff) | |
| download | kernel-9ae8e5ad99b8ebcd3d3dd46075f3825e6f08f063.tar.gz kernel-9ae8e5ad99b8ebcd3d3dd46075f3825e6f08f063.zip | |
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: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
