From: Ido Schimmel <idosch@nvidia.com>
To: netdev-bot+sashiko@kernel.org
Cc: kyuwoncho18@gmail.com, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, dsahern@kernel.org,
lucien.xin@gmail.com, willemb@google.com, horms@kernel.org,
netdev@vger.kernel.org
Subject: Re: [PATCH net] ip6_gre: return the full header length from ip6gre_header()
Date: Sun, 29 Nov 2026 10:08:43 +0200 [thread overview]
Message-ID: <20261129080843.GA536787@shredder> (raw)
In-Reply-To: <179591921239.3135.6275849297644683022@kernel.org>
On Sun, Nov 29, 2026 at 02:26:52AM +0000, netdev-bot+sashiko@kernel.org wrote:
> [Severity: Low]
> Is a local packet tap the only place these bytes end up?
Yes. These NBMA tunnels are completely broken. In this mode,
ip6gre_tunnel_xmit() passes the ANY address as the remote address to
ip6_tnl_xmit_ctl(), which causes it to return 0 and the packet is
dropped. It never makes it to the wire.
[...]
> [Severity: Medium]
> This isn't a bug introduced by this patch, but is the header built here
> ever removed on the transmit side?
See above. The packet never makes it to the peer.
[...]
> [Severity: High]
> With needed returned, packet_snd() now copies the payload after the full
> t->hlen + 40 bytes. Doesn't that leave the GRE option bytes uninitialized
> when okey, oseq or ocsum is set, or when a FOU/GUE encap is used?
Already mentioned.
prev parent reply other threads:[~2026-11-29 8:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 2:04 [PATCH net] ip6_gre: return the full header length from ip6gre_header() Kyuwon Cho
2026-11-26 15:27 ` Ido Schimmel
2026-11-29 2:26 ` netdev-bot+sashiko
2026-11-29 8:08 ` 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=20261129080843.GA536787@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-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=willemb@google.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.