All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Shashank Mohan Jain <jain.sm@gmail.com>
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
Subject: Re: [PATCH net v3] ipv6: fix ioam6_id_wide sysctl on 32-bit architectures
Date: Sun, 29 Nov 2026 15:10:05 +0000	[thread overview]
Message-ID: <179596500525.2331421.4358837143975411934.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261123023036.88754-1-jain.sm@gmail.com>

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



      parent reply	other threads:[~2026-11-29 15:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  2:30 [PATCH net v3] ipv6: fix ioam6_id_wide sysctl on 32-bit architectures Shashank Mohan Jain
2026-11-24 22:40 ` Justin Iurman
2026-11-29 15:10 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179596500525.2331421.4358837143975411934.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=jain.sm@gmail.com \
    --cc=joel.granados@kernel.org \
    --cc=justin.iurman@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.