From: Jakub Kicinski <kuba@kernel.org>
To: "xin.guo" <guoxin0309@gmail.com>
Cc: ncardwell@google.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] tcp: fix tcp_ofo_queue() to avoid including too much DUP SACK range
Date: Mon, 23 Jun 2025 11:57:02 -0700 [thread overview]
Message-ID: <20250623115702.76bdd8a2@kernel.org> (raw)
In-Reply-To: <20250617153706.139462-1-guoxin0309@gmail.com>
On Tue, 17 Jun 2025 23:37:06 +0800 xin.guo wrote:
> If the new coming segment covers more than one skbs in the ofo queue,
> and which seq is equal to rcv_nxt , then the sequence range
> that is not duplicated will be sent as DUP SACK, the detail as below,
> in step6, the {501,2001} range is clearly including too much
> DUP SACK range:
> 1. client.43629 > server.8080: Flags [.], seq 501:1001, ack 1325288529,
> win 20000, length 500: HTTP
> 2. server.8080 > client.43629: Flags [.], ack 1, win 65535, options
> [nop,nop,TS val 269383721 ecr 200,nop,nop,sack 1 {501:1001}], length 0
> 3. Iclient.43629 > server.8080: Flags [.], seq 1501:2001,
> ack 1325288529, win 20000, length 500: HTTP
> 4. server.8080 > client.43629: Flags [.], ack 1, win 65535, options
> [nop,nop,TS val 269383721 ecr 200,nop,nop,sack 2 {1501:2001}
> {501:1001}], length 0
> 5. client.43629 > server.8080: Flags [.], seq 1:2001,
> ack 1325288529, win 20000, length 2000: HTTP
> 6. server.8080 > client.43629: Flags [.], ack 2001, win 65535,
> options [nop,nop,TS val 269383722 ecr 200,nop,nop,sack 1 {501:2001}],
> length 0
Looks reasonable, AFAICT, tho perhaps there's some implicit benefit from
reporting end of the DSACK == rcv_next..
Could you please add the info about how the packet from step 6 looks
"after" this patch? So we have before / after comparison?
With that please resend and make sure you include _all_ maintainers that
the get_maintainer script points out. You missed CCing Eric D.
--
pw-bot: cr
next prev parent reply other threads:[~2025-06-23 18:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-17 15:37 [PATCH net-next] tcp: fix tcp_ofo_queue() to avoid including too much DUP SACK range xin.guo
2025-06-23 18:57 ` Jakub Kicinski [this message]
2025-06-24 15:00 ` Xin Guo
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=20250623115702.76bdd8a2@kernel.org \
--to=kuba@kernel.org \
--cc=guoxin0309@gmail.com \
--cc=ncardwell@google.com \
--cc=netdev@vger.kernel.org \
/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.