🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10161

Re: [PATCH net] soreuseport: annotate data-races around reuse->socks[] and num_socks

#10161
From: patchwork-bot+netdevbpf
Date: Tue, 03 Nov 2026 09:50
27 lines
8696 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 30 Oct 2026 13:09:56 +0100 you wrote:
> From: Eric Dumazet <edumazet@google.com>
> 
> reuseport_select_sock() and reuseport_migrate_sock() read
> reuse->num_socks and reuse->socks[] locklessly under RCU, while
> writers holding reuseport_lock can change them.
> 
> Readers snapshot num_socks once, then index socks[] with it.
> Meanwhile, writers can perform several operations, storing into
> slots below the reader's stale count:
> 
> [...]

Here is the summary with links:
  - [net] soreuseport: annotate data-races around reuse->socks[] and num_socks
    https://git.kernel.org/netdev/net/c/213d491308b9

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179369940540.991644.4129274458698167088.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355348-linux-kernel-netdev=dewy.ru
References: <20261030120956.3026324-1-edumazet@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355348-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] soreuseport: annotate data-races around
 reuse->socks[]
 and num_socks
Date: Tue, 03 Nov 2026 09:50:05 +0000
Organization: Usenet Network
Message-ID: <179369940540.991644.4129274458698167088.git-patchwork-notify@kernel.org>
References: <20261030120956.3026324-1-edumazet@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3135331"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:hukFa612P4b84VP/jvxZzIcawnM= sha256:wrVKSBDpNoTX97MiU+fU6ZXZV4Asum6ZT5upTZrCgrA=
	sha1:vfcCZ+3HJCkP2VYjjMxLNhwJiOU= sha256:7kdiE1lhDpU91UAaZ3fh82ZjMARB8L6ntPazQtAEbHc=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 248B51127B6; Tue,  3 Nov 2026 12:55:02 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id rtPxuQ-yuFOD;
	Tue,  3 Nov 2026 12:54:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-355348-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 35DB01127B1; Tue,  3 Nov 2026 12:54:51 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id D184B600D67; Tue,  3 Nov 2026 09:50:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793699408;
	b=tET2bEdfLXZ5kyCmU1MlR8bcHtTN2aW/FD4Ti8xZjgaJqQ/N+wGRj8QUvkHBZKPg0hje
	 W55p5rQmzthr1WXU789AaOHOcQ2VuOzCf5FRHQlY4LER5P4nxxH/jBkBnsO3X9RkcZ2kN
	 d83ODJmc24geDgcDAnj498c71VFxMfa2UaaDvCGeQaKJtwvIqZUh9fVOojbBEJiHR9CAC
	 pDgnkY9xtKWShjiKvjGu5BH3Tj85zeopOEDoCijeXDw6k3NWQr7dxa6G7kplfZbykD/hd
	 P8ItRQFMr4XM7UFF4HDzcb0PwA3QXlpMIu+3EKvsQeXpjsAfJBdEKy4Mev/v7swjh5g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793699408;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=LmLtyCM55I8wW1tS/KVJF6td/pa17uMaap49/NRy7HQ=;
	b=sIdC5AbO4jITw054A2GZiYn0ln12UnxDw3g3MpIgm5ZY6sOR0zeevRZXxhbqoI0MaBxG
	 iUSVe+k2sM6ITcgvNXkWbxirdTYXhm0Du48Lz5dZeILLI9BN7tYvpxTgzpyPK2WrJaAGy
	 u3E88EhKe805c0KO5XTCdPYgTRtSkvGlP4AfQp+Z5LJ8fzFa3df6IgZqIBGtgE0IsuH6I
	 2/hOOoMD+xGWirxPken8z34iNXo3WEOeud2rOt2gcRiD8FMcZW4r/67rhr/GYcIa+5j0F
	 okaFAxlDbhvy5pIKNekpvdgklq8aL8f3kDP5S2vDh3BEryGIMoNj8Mx+q5+5uiSwF3w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kfOHj3NH;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B35E606A327;
	Tue,  3 Nov 2026 09:50:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kfOHj3NH
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793699407;
	b=luHySS9Pv2dYhZZXsUG2w9kJqFCJxiBqe9U0t04zH1JU0TT7QUbR6g9UmhUH3VJJuZ6p
	 uio/4jughZoEwpPnS6bfiTIFxn5kDcycQ8w79VWiGGDe+27gWnnrPpvHLuEDGipPnLZxk
	 aTU8J94Bj9Cr5foYP3Zu+wn3LAI/mJzwLK4g60HyZiEjqCnyGzjfJLPDEJoUI8HiWiNjW
	 FkCnBikaHRgZjBPBFA1G7a2PyDSC1rrLC0pOUJK2SYaVqKRFjftKcO6GJr7YfYRiD7Srl
	 w8yECYtIX4YUB6zyICXj9k6Me4WVRd7UCrT/o3QhYuSNGQIe8gU6SB6ST2Wdt1UaRiw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793699407;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=LmLtyCM55I8wW1tS/KVJF6td/pa17uMaap49/NRy7HQ=;
	b=4vqUASdf5KzQRNN23awoBTeHXNVeHBUUqHttgp62jJUm/aqnGdG72zsUBkVSQdL6zSDe
	 AGIVQPJ+dmFDOKKT9qiNV8usByKWRAzPWosgwH8KZclnp7MjR11yWTbKypeqrFYDbsAty
	 J6sx0xQ4cuotCZPfOvlHXSHIMipBCLIA0TX38t09zOonNZkG1KEcgAfnrgZA2HE4WnhD7
	 vIO5Iw5o4XVCiYBCvS1743U6/81N7VUQl6KHU9n2XH4B9RZjByRxa4lNzkFaLaQdb6FWv
	 t+SdERiNeAGgZ1W1wMio/UHGFegxp06BlSQEi14JdAJiNotYzh1dwqaCXssd5JvFynA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kfOHj3NH;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15875606A324
	for <netdev@vger.kernel.org>; Tue,  3 Nov 2026 09:50:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89B251F000C1;
	Tue,  3 Nov 2026 09:50:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793699406;
	bh=LmLtyCM55I8wW1tS/KVJF6td/pa17uMaap49/NRy7HQ=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=kfOHj3NHyMfUiHPZ5u4Vn8wBjgKzEsJX+3ZkA13p6r6pe1vMlvr0r4iaobf+I+oFh
	 RjHVYpTpOWUT0+jcEVSsNzUoo7HNYq5noM+283XvSt8tydXZ8u5dTbR76MPxeGgZVr
	 PiEWCuIYMy4pF8Fl/VYJckxbNbEYc0fFqt9mL9WXOymOieh8KZefNypjOWo7cwAOY+
	 c54O81JQG45QD/j1gGMGdkVB+G2HZACYuhs41kr0XUN24j1JJNSbtNg9FTHkvNt6NO
	 VVQ80Is+PLl2CkK+bFrZfs44JQeuHYdIRBZNyRIFX6IiV0vdGmAYYugU9sf6qQom2J
	 0ZwsS5iA93SXA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7D2E13805CCA;
	Tue,  3 Nov 2026 09:50:06 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261030120956.3026324-1-edumazet@kernel.org>
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
 ncardwell@google.com, kuniyu@google.com, horms@kernel.org,
 netdev@vger.kernel.org, edumazet@google.com