From: "Michael S. Tsirkin" <mst@redhat.com>
To: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Cc: netdev-bot+sashiko@kernel.org, netdev@vger.kernel.org,
davem@davemloft.net, kuba@kernel.org, edumazet@google.com,
pabeni@redhat.com, horms@kernel.org, andrew+netdev@lunn.ch,
jasowangio@gmail.com, willemb@google.com, habte.yibelo@gmail.com
Subject: Re: [PATCH net] net: extend virtio_net_hdr csum_start checks to VLAN, IPv6 and IP options
Date: Thu, 8 Oct 2026 17:22:42 -0400 [thread overview]
Message-ID: <20261008172119-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <CAF=yD-+S83OzhObTKBKvqGayBCzCEeOpF5pO4b7=oFF-mxgwcg@mail.gmail.com>
On Thu, Oct 08, 2026 at 05:06:30PM -0400, Willem de Bruijn wrote:
> On Thu, Oct 8, 2026 at 4:55 PM Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > On Thu, Oct 08, 2026 at 04:04:16PM -0400, Willem de Bruijn wrote:
> > > netdev-bot+sashiko@ wrote:
> > > > Thank you for your contribution! Sashiko AI review found 3 potential
> > > > issue(s) to consider.
> > > >
> > > > Critical: 0 · High: 2 · Medium: 1 · Low: 0 (1)
> > > >
> > > > If you believe none of the issues are legitimate, please reply to each
> > > > issue of Medium severity or higher and explain why the AI is wrong.
> > > > If any of them are legitimate and you plan to respin, please let patchwork
> > > > know by including "pw-bot: cr" as a separate line at the end of your reply
> > > > (one such reply per series is enough).
> > > >
> > > > - [High] The fix leaves the UDP-tunnel path, virtio_net_hdr_tnl_to_skb()
> > > > in include/linux/virtio_net.h, with the same weakness it removes from…
> > > > - [High] virtio_net_hdr_thoff_valid() decides whether skb->data starts
> > > > with an Ethernet header only from `skb->dev->type == ARPHRD_ETHER`…
> > > > - [Medium] On the non-ARPHRD_ETHER branch, virtio_net_hdr_thoff_valid()
> > > > leaves proto = 0 and then guesses the L3 protocol from the version…
> > >
> > > All comments look valid and require a respin. Any revision will take
> > > them into account.
> > >
> > > Based also on the previous conversation in this thread, will review the
> > > approach. Updated in patchwork to changes requested.
> >
> >
> > But let's agree who works on this, please. Have a bunch of stuff on my
> > plate so if it is you, I'm very happy and will just criticise :)
>
> Do you agree with my suggested revision that just drops the checksum
> offload request for weird packets?
>
> Or do you want to investigate your suggestion to skb_checksum_help those here?
>
> I can't estimate yet how easy/hard that will prove to be. Can
> prototype, but no guarantee that it's a fruitful approach.
>
> The next few days I'll be OOO, so next week at the earliest.
>
> We agree that this is not urgent, correct. So can do some prototyping.
Oh I have a prototype. Quite ugly atm.
--
MST
prev parent reply other threads:[~2026-10-08 21:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 16:36 [PATCH net] net: extend virtio_net_hdr csum_start checks to VLAN, IPv6 and IP options Willem de Bruijn
2026-10-07 16:40 ` netdev-bot+sinfo
2026-10-07 17:02 ` Willem de Bruijn
2026-10-07 22:02 ` Michael S. Tsirkin
2026-10-07 22:38 ` Willem de Bruijn
2026-10-07 22:52 ` Michael S. Tsirkin
2026-10-07 23:42 ` Willem de Bruijn
2026-10-08 19:38 ` netdev-bot+sashiko
2026-10-08 20:04 ` Willem de Bruijn
2026-10-08 20:55 ` Michael S. Tsirkin
2026-10-08 21:06 ` Willem de Bruijn
2026-10-08 21:22 ` Michael S. Tsirkin [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=20261008172119-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=habte.yibelo@gmail.com \
--cc=horms@kernel.org \
--cc=jasowangio@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=willemb@google.com \
--cc=willemdebruijn.kernel@gmail.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