🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Jakub Kicinski Thu, 08 Oct 2026 23:44
Re: [PATCH net-next v2 2/2] net: annotate lockless writes to sk->sk_err
#984
Author: Jakub Kicinski
Date: Thu, 08 Oct 2026 23:44
19 lines
6240 bytes
On Sat, 03 Oct 2026 21:44:29 -0700 Quanye Yang via B4 Relay wrote:
> diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c
> index a23f4b4dfc67..e5d5d755e532 100644
> --- a/net/strparser/strparser.c
> +++ b/net/strparser/strparser.c
> @@ -57,7 +57,7 @@ static void strp_abort_strp(struct strparser *strp, int err)
>  		struct sock *sk = strp->sk;
>  
>  		/* Report an error on the lower socket */
> -		sk->sk_err = -err;
> +		WRITE_ONCE(sk->sk_err, -err);
>  		sk_error_report(sk);
>  	}

This chunk doesn't apply any more, please wait a day (for net->net-next
merge), then rebase & repost.
-- 
pw-bot: cr
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads