From: Ido Schimmel <idosch@nvidia.com>
To: Kyuwon Cho <kyuwoncho18@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
David Ahern <dsahern@kernel.org>, Xin Long <lucien.xin@gmail.com>,
Willem de Bruijn <willemb@google.com>,
Simon Horman <horms@kernel.org>, Dmitry Kozlov <xeb@mail.ru>,
netdev@vger.kernel.org
Subject: Re: [PATCH net v2 0/3] gre: fix the headers that ipgre_header() and ip6gre_header() build
Date: Tue, 1 Dec 2026 15:55:46 +0200 [thread overview]
Message-ID: <20261201135546.GA2114248@shredder> (raw)
In-Reply-To: <cover.1795755931.git.kyuwoncho18@gmail.com>
On Mon, Nov 30, 2026 at 02:56:14PM +0900, Kyuwon Cho wrote:
> ipgre_header() and ip6gre_header() build the outer IP header and the
> GRE header for AF_PACKET SOCK_DGRAM sends on a GRE device with
> header_ops (remote any). Neither clears the optional GRE fields, so a
> packet socket bound to the device reads the key and the sequence number
> from uninitialized memory (patches 1 and 2, from Ido's review of v1).
> ip6gre_header() also returns 40 bytes too little, so the payload lands
> on the outer IPv6 header (patch 3, which is v1).
Went over the AI feedback. None of it seems interesting enough to
justify a v3:
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/cover.1795755931.git.kyuwoncho18%40gmail.com
Note that patches should no longer carry an Assisted-by tag. See commit
1e035297ffda ("docs: remove Assisted-by references").
For the series:
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
prev parent reply other threads:[~2026-12-01 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 5:56 [PATCH net v2 0/3] gre: fix the headers that ipgre_header() and ip6gre_header() build Kyuwon Cho
2026-11-30 5:56 ` [PATCH net v2 1/3] ip_gre: clear the optional GRE fields in ipgre_header() Kyuwon Cho
2026-11-30 5:56 ` [PATCH net v2 2/3] ip6_gre: clear the optional GRE fields in ip6gre_header() Kyuwon Cho
2026-11-30 5:56 ` [PATCH net v2 3/3] ip6_gre: return the full header length from ip6gre_header() Kyuwon Cho
2026-12-01 13:55 ` Ido Schimmel [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=20261201135546.GA2114248@shredder \
--to=idosch@nvidia.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=kyuwoncho18@gmail.com \
--cc=lucien.xin@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=willemb@google.com \
--cc=xeb@mail.ru \
/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