Linux virtualization list
 help / color / mirror / Atom feed
From: Showta Ishizaki <zakinko@snowrabbit.org>
To: Chris Arges <carges@cloudflare.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Willem de Bruijn <willemdebruijn.kernel@gmail.com>,
	Jason Wang <jasowangio@gmail.com>,
	netdev@vger.kernel.org, Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	Simon Horman <horms@kernel.org>,
	Eugenio Pérez <eperezma@redhat.com>,
	Xuan Zhuo <xuanzhuo@linux.alibaba.com>,
	Richard Weinberger <richard@nod.at>,
	Anton Ivanov <anton.ivanov@cambridgegreys.com>,
	Johannes Berg <johannes@sipsolutions.net>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	Paulos Yibelo <habte.yibelo@gmail.com>,
	Björn Töpel <bjorn@kernel.org>,
	virtualization@lists.linux.dev, linux-um@lists.infradead.org,
	linux-doc@vger.kernel.org,
	Showta Ishizaki <zakinko@snowrabbit.org>
Subject: Re: [PATCH RFC net v9 5/6] net: virtio: compute the outer checksum of non-GSO tunnel packets
Date: Thu,  3 Dec 2026 10:39:13 +0900 (JST)	[thread overview]
Message-ID: <20261203.rfcv9-reply5.zakinko@snowrabbit.org> (raw)
In-Reply-To: <axB_NPcujvScN_OI@20HS2G4>

On 2026-12-02 15:06:38 -0600, Chris Arges wrote:
> After doing some testing, I found that non-zero Ethernet padding causes
> full-checksum fallback to product incorrect outer UDP checksums. I was able
> to fix my tests with this change:

Thanks -- you're right. I reproduced it: with non-zero Ethernet padding and
the inner checksum completed in software, the outer checksum comes out wrong
on v9, v4 and v6, and your change fixes it. I'll take it as it stands in v10.

Showta

  reply	other threads:[~2026-12-03  1:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  4:00 [PATCH RFC net v9 0/6] more virtio-net csum hardening Showta Ishizaki
2026-12-02  4:00 ` [PATCH RFC net v9 3/6] virtio_net: parse tunnel csum_start little-endian Showta Ishizaki
2026-12-02  4:00 ` [PATCH RFC net v9 1/6] net: account for ingress-resolved virtio net hdr state Showta Ishizaki
2026-12-02  4:00 ` [PATCH RFC net v9 5/6] net: virtio: compute the outer checksum of non-GSO tunnel packets Showta Ishizaki
2026-12-02 21:06   ` Chris Arges
2026-12-03  1:39     ` Showta Ishizaki [this message]
2026-12-02  4:00 ` [PATCH RFC net v9 6/6] net: add a sysctl to opt out of virtio net hdr checksum validation Showta Ishizaki
2026-12-02  4:00 ` [PATCH RFC net v9 2/6] um: vector: trim skbs before verifying the header Showta Ishizaki
2026-12-02  4:00 ` [PATCH RFC net v9 4/6] net: resolve uncommon partial checksums at ingress Showta Ishizaki

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=20261203.rfcv9-reply5.zakinko@snowrabbit.org \
    --to=zakinko@snowrabbit.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=anton.ivanov@cambridgegreys.com \
    --cc=bjorn@kernel.org \
    --cc=carges@cloudflare.com \
    --cc=corbet@lwn.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=eperezma@redhat.com \
    --cc=habte.yibelo@gmail.com \
    --cc=horms@kernel.org \
    --cc=jasowangio@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=kuba@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-um@lists.infradead.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rdunlap@infradead.org \
    --cc=richard@nod.at \
    --cc=skhan@linuxfoundation.org \
    --cc=virtualization@lists.linux.dev \
    --cc=willemdebruijn.kernel@gmail.com \
    --cc=xuanzhuo@linux.alibaba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox