From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794977516; b=S8sdvSllXJb0LR+o/8O+WRaojvEq/SB+uK8AYFwohQZ08nW/q4eq1qFBrC+CRcluCjN7 YPRcUtsQ4Dttw9dEXGPe9jRbh5neCbYAmoU/9dy3ejYR4WS+ceVJYj0goADEP9DyUyDsj jpnigwyEf5cZJN5L/LpxXbbgek9nuu4bS1DLkjhQr9llW87hSUfM7a68iFdj8qHQPdqq+ DGwPX2twxj75xwo/NynlxzCMyf5Ihsjdl90poexbr2gKxkUo21UL65QTCjYct1ki21QEd aHccQpsphOGDze51WTjBnJnq/G7glYTg+G7dDgijlH4emiPagWxc/mZC+6WhTAJccXw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794977516; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:From:To:Cc:Subject:Date:Message-ID: X-Mailer:MIME-Version:Content-Transfer-Encoding; bh=zKnXRqX2v+aT3gYlNIv7K2osO8pX6mgOgfzS7UFgtqc=; b=vmbXO6Z4rmAL8ThZ5/AvNFBGqhNS1By+6S525noj4+BEjdgkCOiy2fxAbmiyqGqXrCUw zB6gpJe1Hw0GVYALeU6g8Mf626hOkR9BsMuPUyqMXE5P5nju+lhu5J8zowU2lBWMPeWSL nQZOeRLUDUXAWphKDlqza3zdRmoKLSnevL8EhqbwqLWkaBguWMotk8dsohONpL1JLSB/S kHDBbep/kifhrzQhVlWUJP2mztmalW8911yzgUqpBJXmzEGPs0O5NMJZX8rsOHRihQXPY ynvt7KlX2+Rd0K697HlQmkvRjMyXDTuIhK9WX31r0HaKKUK26Zy0s95J3q7Lds+HhzQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=fuLZ5nSZ; arc=none smtp.remote-ip=95.215.58.72 Received: from mta1.migadu.com (out-72.mta1.migadu.com [95.215.58.72]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 501FB606A32C for ; Wed, 18 Nov 2026 04:51:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 501FB606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=fuLZ5nSZ X-Envelope-To: linux-rdma@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=5mvBnQTVoVHqhHsi3OfdVHP7eNZFTOT0ltruB/HvWm8=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1794977513; v=1; x=1795582313; b=fuLZ5nSZFMJVVN+PLvCjAN/lSG7vK6WXGu9NW8aTIyTwA0Z9SzfVxr5YXXfNxgU/c2hnB2ZU WESNvtOAFFRAlfXYkPsiVvn1TRoH0eBa+z0afaEDChozcP9W/ZcByOyzBPC0eQHcroUA7TKon+B Uw1bcSf5cQRrTHl9uQ/JTEp8= X-Envelope-To: linux-rdma@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id e2317ad5862a2ec7; Wed, 18 Nov 2026 04:51:53 +0000 X-Mizu-Trace-ID: e2317ad5862a2ec7 X-Migadu-Flow: FLOW_OUT From: Jiayuan Chen To: netdev@vger.kernel.org Cc: Jiayuan Chen , David Ahern , Ido Schimmel , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Matthieu Baerts , Mat Martineau , Geliang Tang , Allison Henderson , "D. Wythe" , Dust Li , Sidraya Jayagond , Mahanta Jambigi , Tony Lu , Wen Gu , linux-kernel@vger.kernel.org, mptcp@lists.linux.dev, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, linux-s390@vger.kernel.org Subject: [PATCH net-next v2 0/5] net: annotate data-races around sysctl knobs Date: Wed, 18 Nov 2026 12:51:15 +0800 Message-ID: <20261118045137.174026-1-jiayuan.chen@linux.dev> X-Mailer: git-send-email 2.43.0 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series annotates data races around a few sysctl knobs under net/. They are read without any lock while their handlers update them with WRITE_ONCE(), so add READ_ONCE() to the readers, and WRITE_ONCE() to the handlers and netlink paths that store to the same fields with plain writes. There are no Fixes tags. Done one knob per patch this would be well over a hundred commits, so I grouped them by subsystem and feature instead to keep the review manageable. If maintainers prefer, I can split it up further with a Fixes tag on each one, as several smaller series. No functional change. v2: - only resend the patches that got a Reviewed-by or Acked-by, with the tags picked up; they are unchanged - netfilter patches are moved to a separate series for nf-next (Simon) - calipso is sent separately as a fix - the other patches had no review yet and are left out for now v1: https://lore.kernel.org/netdev/20261109025425.328445-1-jiayuan.chen@linux.dev/ Jiayuan Chen (5): inet: frags: annotate data-races around fqdir->timeout and fqdir->max_dist ipv6: annotate data-races around icmpv6 reply sysctls mptcp: annotate data-races around pernet sysctls rds: annotate data-races around core rds sysctls net/smc: annotate data-races around smc sysctls include/net/ipv6.h | 2 +- net/ipv4/inet_fragment.c | 2 +- net/ipv4/ip_fragment.c | 6 +++--- net/ipv6/icmp.c | 10 +++++----- net/mptcp/ctrl.c | 18 +++++++++--------- net/rds/recv.c | 2 +- net/rds/send.c | 8 ++++---- net/rds/threads.c | 4 ++-- net/smc/af_smc.c | 8 ++++---- net/smc/smc_clc.c | 8 ++++---- net/smc/smc_core.c | 2 +- net/smc/smc_tx.c | 2 +- 12 files changed, 36 insertions(+), 36 deletions(-) -- 2.43.0