Article View: linux.kernel.netdev
Article #24163Re: [PATCH net v3] ipv6: fix ioam6_id_wide sysctl on 32-bit architectures
From: patchwork-bot+netdevbpf
Date: Sun, 29 Nov 2026 15:10
Date: Sun, 29 Nov 2026 15:10
30 lines
8962 bytes
8962 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
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
Technical Details
Message-ID:
<179596500525.2331421.4358837143975411934.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373537-linux-kernel-netdev=dewy.ruReferences:
<20261123023036.88754-1-jain.sm@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373537-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v3] ipv6: fix ioam6_id_wide sysctl on 32-bit architectures Date: Sun, 29 Nov 2026 15:10:05 +0000 Organization: Usenet Network Message-ID: <179596500525.2331421.4358837143975411934.git-patchwork-notify@kernel.org> References: <20261123023036.88754-1-jain.sm@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1191790"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:VEcY0QMpt51gpg6LM8uDB0guoVU= sha256:EzGOlq0W2ROIlNKtxBWMff3MjyvkSP3Oz+0xOVmdEwI= sha1:euWDEPBavdYEgTLPfQxoCVb4e98= sha256:2B17Wyza5gUroWVLyOkr8d56JdfAYjPuevSeQ/jaVWc= 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 7DD84125F98; Sun, 29 Nov 2026 18:10:33 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 rTRKOqp_7P0f; Sun, 29 Nov 2026 18:10:30 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-373537-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id C69F5125F99; Sun, 29 Nov 2026 18:10:21 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id E844229581; Sun, 29 Nov 2026 15:10: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=1795965008; b=4b5IA2OOVqS+5/2J/fHfSJG3Y4B0Meb5KPGTlXggLjHB2PNjbIVuaiamyO39dWoHC7Mg rjriTvV9KlzYXUokP2hwz0sV9Y7x8eZK4ZLzDMQTyy7j9t+TBoinDc1b/G3KUFQ3loM9F Nt0R5RmmXj/fkbp9yRtgKdx1df1IH80syFhPZS4vodSE/V4lJP5xgjhlIqYhqbbtBNfjS 9uhwBDyftvKwAg50vWIlwTrGEHKd+ZAHF2iWaHruU/j/TzoDrSeUZzRqStqIuPvzn3t0v Yc0Q0zNRQ64nG/o2CvUoBkvaIWGtBW0/fxPXs916kmv0qIIgZa8rtO8jr7LeZpFceLg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795965008; 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=UTc3+I5agMkpFTiViWv6LN2j7Szfip8qyKnqwO6APL0=; b=g3XTkWTX2xvBvLf/2CmpFkBp9gs3khExhxsympFFRJmy+mh00Md3NtJFC+SAbzM8DNxs YMTUIFoimsP8KRCnwDHOlu8wjS7DOGTVXqVBl4YijpybIZr8fV7Z5EjbARVf4hQPaJZGg owJqq0TUhZYbGKYNrTx0Z0Q0VQPL/d5dABa/yp4pVi2ppmRA/ly9QOYPfpQDJyZi6PgUL uYUL0n+5qGouiaxOr/5FmwkSbcPZeqEH7VPlbPfsRzOx0bY5PqZb+KrY5ehIgSkjEXRvU kIMe+rjFhyQkCc0CjK4wz7/gWvgX+mOPkJ9FPmiagK6BbykMD7gQKg0KSYUPvkJPeOA== 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=m9hAMI8I; 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 07823606A331; Sun, 29 Nov 2026 15:10:08 +0000 (UTC) X-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 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=1795965007; b=MwXVEhXqqxwqENRO/Oqf/EynHstVg0d6J+RdISL1Tj5bnt8shbXqKvtyrYE1SxIl/iUS isAy8443/APPlQXouRJSfDnbn3VUh99So3FEBCcsX+gZRNEeWJCEGKaCl2b0UhjSg73IJ 0PUVlCI9hiEhc53zVI5HEkDXKKoL05Wn8ztKzQwl1d0BxP3rxJXpynPIBMgHtnGni+GO5 f6sQ3oPiRzFFpqpWT2nM9X9LaDqQipdQtGJfO5KdSS7WGiVvSXNXbeiiuISr772p8aXFZ 2ulKYqLwH5l1Msq1xgVXfSJ1rLKhhIZbvIpr0cGVe/+JYyUv72/zT6R4+zCFA/v9T5A== X-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== 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=m9hAMI8I; 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 28AA3606A33D; Sun, 29 Nov 2026 15:10:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B66FC1F00898; Sun, 29 Nov 2026 15:10:06 +0000 (UTC) X-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== 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 AE8E5392B1FB; Sun, 29 Nov 2026 15:10: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: <20261123023036.88754-1-jain.sm@gmail.com> X-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