Re: [PATCH net-next v5 0/2] tcp: annotate lockless access to sk->sk_err
From: patchwork-bot+netdevbpf
Date: Thu Oct 01 2026 - 05:11:38 EST
Hello:
This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Fri, 25 Sep 2026 05:47:55 -0700 you wrote:
> do_recvmmsg() and getsockopt(SO_ERROR) call sock_error() without the
> socket lock and clear sk_err with xchg().
>
> Patch 1 covers TCP. Peek-only sites use READ_ONCE(). On the no-data
> recv and splice paths, call sock_error() once and only stop when it
> returns a non-zero error. tcp_bpf_sendmsg() folds two unmarked loads
> into one READ_ONCE() and uses that value as the returned errno.
>
> [...]
Here is the summary with links:
- [net-next,v5,1/2] tcp: annotate lockless access to sk->sk_err
https://git.kernel.org/netdev/net-next/c/3b49f11cc92d
- [net-next,v5,2/2] mptcp: annotate lockless access to sk->sk_err
https://git.kernel.org/netdev/net-next/c/97870870b7dd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html