mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
mptcp: annotate lockless access to sk->sk_err
sock_error() can clear sk_err with xchg() without the socket lock. On the no-data msk recv and splice paths, call sock_error() once and only stop when it returns a non-zero error. Annotate the remaining msk send and subflow error-report peeks with READ_ONCE(). Signed-off-by: Quanye Yang <quanyeyang@proton.me> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20260925-mptcp-sk-err-net-v5-2-0cac04d6ea48@proton.me Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
3b49f11cc9
commit
97870870b7
2 changed files with 8 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue