Re: [PATCH net-next v4 2/2] mptcp: annotate lockless access to sk->sk_err

From: Matthieu Baerts

Date: Fri Sep 18 2026 - 07:28:58 EST


Hi Quanye,

On 17/09/2026 15:41, Quanye Yang via B4 Relay wrote:
> From: Quanye Yang <quanyeyang@xxxxxxxxx>
>
> sock_error() can clear sk_err with xchg() without the socket lock.
> Annotate the remaining MPTCP peeks on the msk send/recv/splice paths
> and on the subflow error-report path with READ_ONCE().

This looks good to me, thanks!

Reviewed-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>

Cheers,
Matt
--
Sponsored by the NGI0 Core fund.