Netdev List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Dave Seddon <dave.seddon.ca@gmail.com>
Cc: netdev@vger.kernel.org, stephen@networkplumber.org, dsahern@kernel.org
Subject: Re: [PATCH iproute2 v2] libnetlink: zero padding in rta_addattr_l()
Date: Mon, 09 Nov 2026 17:50:08 +0000	[thread overview]
Message-ID: <179424660867.3393623.8324863272464754349.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261109164116.2637408-1-dave.seddon.ca@gmail.com>

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Mon,  9 Nov 2026 08:41:16 -0800 you wrote:
> rta_addattr_l() copies alen bytes but advances the parent by
> RTA_ALIGN(len), so the 1-3 padding bytes are never written. This affects
> every caller that passes an unaligned length. Nests built in stack
> buffers (lwtunnel encap, RTA_MULTIPATH, RTA_METRICS) then send those
> bytes to the kernel. For example, in
> 
>   ip nexthop add id 53 encap mpls 101 ttl 10 via 192.0.2.1 dev d0
> 
> [...]

Here is the summary with links:
  - [iproute2,v2] libnetlink: zero padding in rta_addattr_l()
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=c5b76cbbfefd

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      reply	other threads:[~2026-11-09 17:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 16:41 [PATCH iproute2 v2] libnetlink: zero padding in rta_addattr_l() Dave Seddon
2026-11-09 17:50 ` 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=179424660867.3393623.8324863272464754349.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=dave.seddon.ca@gmail.com \
    --cc=dsahern@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox