Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Chia-Yu Chang (Nokia)" <chia-yu.chang@nokia-bell-labs.com>
Cc: "Ilpo Järvinen" <ij@kernel.org>,
	"Sasha Levin" <sashal@kernel.org>,
	"Eric Dumazet" <edumazet@google.com>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	"stable-commits@vger.kernel.org" <stable-commits@vger.kernel.org>,
	"Neal Cardwell" <ncardwell@google.com>,
	"David S. Miller" <davem@davemloft.net>,
	"David Ahern" <dsahern@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Simon Horman" <horms@kernel.org>,
	"Kuniyuki Iwashima" <kuniyu@google.com>,
	"Willem de Bruijn" <willemb@google.com>
Subject: Re: Patch "tcp: reorganize tcp_in_ack_event() and tcp_count_delivered()" has been added to the 6.6-stable tree
Date: Tue, 17 Jun 2025 15:53:28 +0200	[thread overview]
Message-ID: <2025061745-epidermal-clothing-beed@gregkh> (raw)
In-Reply-To: <PAXPR07MB7984096843D96583972BF35BA376A@PAXPR07MB7984.eurprd07.prod.outlook.com>

On Sat, Jun 14, 2025 at 01:55:02PM +0000, Chia-Yu Chang (Nokia) wrote:
> > -----Original Message-----
> > From: Ilpo Järvinen <ij@kernel.org> 
> > Sent: Thursday, June 12, 2025 11:17 PM
> > To: Sasha Levin <sashal@kernel.org>; Chia-Yu Chang (Nokia) <chia-yu.chang@nokia-bell-labs.com>
> > Cc: Eric Dumazet <edumazet@google.com>; stable@vger.kernel.org; stable-commits@vger.kernel.org; Neal Cardwell <ncardwell@google.com>; David S. Miller <davem@davemloft.net>; David Ahern <dsahern@kernel.org>; Jakub Kicinski <kuba@kernel.org>; Paolo Abeni <pabeni@redhat.com>; Simon Horman <horms@kernel.org>; Kuniyuki Iwashima <kuniyu@google.com>; Willem de Bruijn <willemb@google.com>
> > Subject: Re: Patch "tcp: reorganize tcp_in_ack_event() and tcp_count_delivered()" has been added to the 6.6-stable tree
> > 
> > 
> > CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.
> > 
> > 
> > 
> > + Chia-Yu
> > 
> > 
> > On Thu, 12 Jun 2025, Sasha Levin wrote:
> > > On Thu, Jun 12, 2025 at 01:40:57AM -0700, Eric Dumazet wrote:
> > > > On Thu, May 22, 2025 at 3:44 PM Sasha Levin <sashal@kernel.org> wrote:
> > > > >
> > > > > This is a note to let you know that I've just added the patch 
> > > > > titled
> > > > >
> > > > >     tcp: reorganize tcp_in_ack_event() and tcp_count_delivered()
> > > > >
> > > > > to the 6.6-stable tree which can be found at:
> > > > >     
> > > > > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fw
> > > > > ww.kernel.org%2Fgit%2F%3Fp%3Dlinux%2Fkernel%2Fgit%2Fstable%2Fstabl
> > > > > e-queue.git%3Ba%3Dsummary&data=05%7C02%7Cchia-yu.chang%40nokia-bel
> > > > > l-labs.com%7C449db2278c004aa84d7b08dda9f68c8c%7C5d4717519675428d91
> > > > > 7b70f44f9630b0%7C0%7C0%7C638853598557368335%7CUnknown%7CTWFpbGZsb3
> > > > > d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFO
> > > > > IjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Z6AfId4r6Ys1V4sGov
> > > > > 8bdOct72AAUdfVgFTo7NMOibU%3D&reserved=0
> > > > >
> > > > > The filename of the patch is:
> > > > >      tcp-reorganize-tcp_in_ack_event-and-tcp_count_delive.patch
> > > > > and it can be found in the queue-6.6 subdirectory.
> > > > >
> > > > > If you, or anyone else, feels it should not be added to the stable 
> > > > > tree, please let <stable@vger.kernel.org> know about it.
> > > > >
> > > > >
> > > >
> > > > May I ask why this patch was backported to stable versions  ?
> > 
> > As you see Eric, you got no answer to a very direct question.
> > 
> > I've long since stopped caring unless a change really looks dangerous (this one didn't) what they take into stable, especially since they tend to ignore on-what-grounds questions.
> > 
> > > > This is causing a packetdrill test to fail.
> > >
> > > Is this an issue upstream as well? Should we just drop it from stable?
> > 
> > It's long since I've done anything with packetdrill so it will take some time for me to test. Maybe Chia-Yu can check this faster (but I assume it's also problem in mainline as this is reported by Eric).
> > 
> > --
> >  i.
> 
> Hi Eric,
> 
> I've checked the failure case and could reproduce it using the latest packetdrill.
> 
> The root cause is because delaying the tcp_in_ack_event() call does have an impact on update_alpha(), which uses the values of the latest delivered and delivered_ce updated by tcp_clean_rtx_queue().
> Therefore, tcp_plb_update_state() will use these values to update the state for TCP PLB.
> While before this patch, update_alpha() is called before tcp_clean_rtx_queue(), and thus delivered and delivered_ce are not updated yet.
> 
> This is also in upstream as well.

Thanks for looking into this.  When the fix for this gets into Linus's
tree, can someone make sure to properly tag it for stable backports
(i.e. cc: stable@vger.kernel.org)?

thanks,

greg k-h

  reply	other threads:[~2025-06-17 13:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250522224433.3219290-1-sashal@kernel.org>
2025-06-12  8:40 ` Patch "tcp: reorganize tcp_in_ack_event() and tcp_count_delivered()" has been added to the 6.6-stable tree Eric Dumazet
2025-06-12 19:24   ` Sasha Levin
2025-06-12 21:17     ` Ilpo Järvinen
2025-06-14 13:55       ` Chia-Yu Chang (Nokia)
2025-06-17 13:53         ` Greg KH [this message]
2025-06-17 14:40         ` Eric Dumazet

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=2025061745-epidermal-clothing-beed@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=chia-yu.chang@nokia-bell-labs.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=ij@kernel.org \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=ncardwell@google.com \
    --cc=pabeni@redhat.com \
    --cc=sashal@kernel.org \
    --cc=stable-commits@vger.kernel.org \
    --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