From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795965007; b=MwXVEhXqqxwqENRO/Oqf/EynHstVg0d6J+RdISL1Tj5bnt8shbXqKvtyrYE1SxIl/iUS isAy8443/APPlQXouRJSfDnbn3VUh99So3FEBCcsX+gZRNEeWJCEGKaCl2b0UhjSg73IJ 0PUVlCI9hiEhc53zVI5HEkDXKKoL05Wn8ztKzQwl1d0BxP3rxJXpynPIBMgHtnGni+GO5 f6sQ3oPiRzFFpqpWT2nM9X9LaDqQipdQtGJfO5KdSS7WGiVvSXNXbeiiuISr772p8aXFZ 2ulKYqLwH5l1Msq1xgVXfSJ1rLKhhIZbvIpr0cGVe/+JYyUv72/zT6R4+zCFA/v9T5A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795965007; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=UTc3+I5agMkpFTiViWv6LN2j7Szfip8qyKnqwO6APL0=; b=eADRADxWf3hG9KJtzv8nAtPNmnCO4IIZ9tKQ/x4/bUzBNWepknlGBrXh/+nf1mAUyCKc zBvqm1NeDs7XTDwUiODD0E/VmIHqecS8Im+6Yqbm7UskBfzAO9Y6tmlpDlT8/G32LTT// zOoFKoCNs+NnoO4291aNuaqrdw2u+b9D4EdA4XOhdrOuT82LytMhTt/jCzyNBfg6+IgH2 CAM22NaGODC/keoSAqrEfxC85E9+bSKzNIExdNwV3+LBNSpLWoI55ToGbzlkoGBHgGrQS H4ylAOxgfQf/NaziKRhT8FuCVnaO3VP4BsPEpzz7h9S6WaoDR8ycgIUE2iMRp/TO3EA== 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=m9hAMI8I; arc=none smtp.remote-ip=100.103.45.18 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 28AA3606A33D; Sun, 29 Nov 2026 15:10:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=m9hAMI8I Received: by smtp.kernel.org (Postfix) with ESMTPSA id B66FC1F00898; Sun, 29 Nov 2026 15:10:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795965006; bh=UTc3+I5agMkpFTiViWv6LN2j7Szfip8qyKnqwO6APL0=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=m9hAMI8InwTHr9BP7jpUN2Z294SLMpTWoZj8kW8eVlDf2S6Zz6U6hOqkgYEtXZ0/v cHoQwW+HDZ2AMUIjK5+CvwwQSkBEV8jkZ+Kr8MEmAzi7g5odyD/v9E5A94W7rbblY0 uhMt2C+UNzQdvpJKNxCST3MoLa0RKBINytvdGnDEPLKtjgf6Jwmzdb+oaWBdWkG9VB MPXOLMjaFSbN3SwhzwLj4yA6ngf2NskS9k2Xh7CAi54yUvS5lW/4b3sS5NBolr3Y8P Xvu1YSZmUjEURJYTwLgbYgRZU7C474ICxSC7s88ikQReXy+Zwvp9qETU3zEa8tPSHr GE+8Mz43z7fXA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id AE8E5392B1FB; Sun, 29 Nov 2026 15:10:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-kernel@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 Subject: Re: [PATCH net v3] ipv6: fix ioam6_id_wide sysctl on 32-bit architectures From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179596500525.2331421.4358837143975411934.git-patchwork-notify@kernel.org> Date: Sun, 29 Nov 2026 15:10:05 +0000 References: <20261123023036.88754-1-jain.sm@gmail.com> In-Reply-To: <20261123023036.88754-1-jain.sm@gmail.com> To: Shashank Mohan Jain Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, justin.iurman@gmail.com, horms@kernel.org, joel.granados@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Willem de Bruijn : On Mon, 23 Nov 2026 08:00:36 +0530 you wrote: > net.ipv6.ioam6_id_wide stores a u64 (netns_sysctl_ipv6.ioam6_id_wide), > but its table entry uses proc_doulongvec_minmax() with .maxlen = > sizeof(u64) and .extra2 pointing at a u64. On 32-bit, unsigned long is > 4 bytes, so the handler treats the field as a vector of two 32-bit > values and reads the u64 max through an unsigned long pointer: > > - reading prints two numbers ("4294967295 16777215" by default on > little-endian); > - writing one value only replaces one half of the u64: on > little-endian "echo 5 >" leaves 0x00ffffff00000005; on big-endian it > sets the upper half, and the range check uses the upper word of > ioam6_id_wide_max (0x00ffffff). > > [...] Here is the summary with links: - [net,v3] ipv6: fix ioam6_id_wide sysctl on 32-bit architectures https://git.kernel.org/netdev/net/c/a8710eac6431 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html