From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>,
Willem de Bruijn <willemb@google.com>
Cc: Christian Theune <christian@theune.cc>,
regressions@lists.linux.dev, stable@vger.kernel.org,
netdev@vger.kernel.org, mathieu.tortuyaux@gmail.com,
Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Subject: Re: Follow-up to "net: drop bad gso csum_start and offset in virtio_net_hdr" - backport for 5.15 needed
Date: Mon, 09 Sep 2024 14:34:29 -0400 [thread overview]
Message-ID: <66df3fb5a228e_3d03029498@willemb.c.googlers.com.notmuch> (raw)
In-Reply-To: <2024090952-grope-carol-537b@gregkh>
Greg KH wrote:
> On Mon, Sep 09, 2024 at 12:05:17AM -0400, Willem de Bruijn wrote:
> > On Tue, Sep 3, 2024 at 4:03 AM Greg KH <gregkh@linuxfoundation.org> wrote:
> > >
> > > On Tue, Sep 03, 2024 at 09:37:30AM +0200, Christian Theune wrote:
> > > > Hi,
> > > >
> > > > the issue was so far handled in https://lore.kernel.org/regressions/ZsyMzW-4ee_U8NoX@eldamar.lan/T/#m390d6ef7b733149949fb329ae1abffec5cefb99b and https://bugzilla.kernel.org/show_bug.cgi?id=219129
> > > >
> > > > I haven’t seen any communication whether a backport for 5.15 is already in progress, so I thought I’d follow up here.
> > >
> > > Someone needs to send a working set of patches to apply.
> >
> > The following stack of patches applies cleanly to 5.15.166
> > (original SHA1s, git log order, so inverse of order to apply):
> >
> > 89add40066f9e net: drop bad gso csum_start and offset in virtio_net_hdr
> > 9840036786d9 gso: fix dodgy bit handling for GSO_UDP_L4
> > fc8b2a619469 net: more strict VIRTIO_NET_HDR_GSO_UDP_L4 validation
> >
> > All three are already present in 6.1.109
> >
> > Please let me know if I should send that stack using git send-email,
> > or whether this is sufficient into to backport.
>
> I just tried it, they do not apply cleanly here for me at all :(
>
> > The third commit has one Fixes referencing them:
> >
> > 1382e3b6a350 net: change maximum number of UDP segments to 128
> >
> > This simple -2/+2 line patch unfortunately cannot be backported
> > without conflicts without backporting non-stable feature changes.
> > There is a backport to 6.1.y, but that also won't apply cleanly to
> > 5.15.166 without backporting a feature (e2a4392b61f6 "udp: introduce
> > udp->udp_flags"), which itself does not apply cleanly.
> >
> > So simplest is probably to fix up this commit and send it using git
> > send-email. I can do that as part of the stack with the above 3
> > patches, or stand-alone if the above can be cherry-picked by SHA1.
>
> Please send me a set of working, and tested, patches and we will be glad
> to consider it.
Done:
https://lore.kernel.org/stable/20240909182506.270136-1-willemdebruijn.kernel@gmail.com/T/#m0086f42d20bfc4d6226a8cf379590032edfbbe21
The following worked fine for me. I hope I did not overlook anything.
Compile tested only. But as said, the same patches have landed in
6.1-stable.
git fetch linux-stable linux-5.15.y
git checkout linux-stable/linux-5.15.y
git cherry-pick fc8b2a619469
git cherry-pick 9840036786d9
git cherry-pick 89add40066f9e
make defconfig
make -j 64
Unfortunately, the key commit itself has a bug report against it. I am
working on that right now.
But as the existing patch that it refers to in its Fixes has landed in
all stable kernels and is causing reports, it is a backporting case of
damned if we do, damned if we don't.
I intend to have a fix ready ASAP for netdev-net/main. If all stable
branches have all backports, it should apply cleanly everywhere. Just
not ready to be included in this series from the start.
next prev parent reply other threads:[~2024-09-09 18:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 7:37 Follow-up to "net: drop bad gso csum_start and offset in virtio_net_hdr" - backport for 5.15 needed Christian Theune
2024-09-03 8:02 ` Greg KH
2024-09-09 4:05 ` Willem de Bruijn
2024-09-09 17:03 ` Greg KH
2024-09-09 18:34 ` Willem de Bruijn [this message]
2024-09-09 18:38 ` Christian Theune
2024-09-09 20:32 ` Willem de Bruijn
2024-09-10 6:32 ` Christian Theune
2024-09-11 7:39 ` Christian Theune
2024-09-11 7:43 ` Greg KH
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=66df3fb5a228e_3d03029498@willemb.c.googlers.com.notmuch \
--to=willemdebruijn.kernel@gmail.com \
--cc=christian@theune.cc \
--cc=gregkh@linuxfoundation.org \
--cc=mathieu.tortuyaux@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=regressions@lists.linux.dev \
--cc=stable@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox