From: Wei Yongjun <yjwei@cn.fujitsu.com>
To: linux-sctp@vger.kernel.org
Subject: Re: [PATCH] SCTP: Fix DATA retransmit after fast retransmit
Date: Tue, 22 Apr 2008 04:29:37 +0000 [thread overview]
Message-ID: <480D69B1.2020200@cn.fujitsu.com> (raw)
In-Reply-To: <48085441.2030904@cn.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 2091 bytes --]
Hi Vlad:
The test sequence is the same as yours. The data flow see the following.
If you can receive attachment, see the tcpdump file in the attachment.
Endpoint A Endpoint B
DATA (TSN = 1) ------------->
DATA (TSN = 2) -- (lost)---->
DATA (TSN = 3) ------------->
DATA (TSN = 4) ------------->
<------------- SACK (CTSN = 1)
DATA (TSN = 5) ------------->
<------------- SACK (CTSN = 1, GAP-START = 2, GAP-ENT = 2)
<------------ SACK (CTSN = 1, GAP-START = 2, GAP-ENT = 3)
<------------ SACK (CTSN = 1, GAP-START = 2, GAP-ENT = 4)
DATA (TSN = 2) -(fast rtx)-->
<---(lost)---- SACK (CTSN = 5)
NO DATA send --(t3-rtx)----
HEARTBEAT -(hb rtx1)-->
HEARTBEAT -(hb rtx1)-->
I do not know what packet generater you used for test, maybe it send too
fast, I think If you do same delay before send SACK (CTSN = 1,
GAP=3,4,5), you can find this problem.
Wei Yongjun
Vlad Yasevich wrote:
> Hi Wei
>
> I am attempting to reproduce this scenario and trying to understand
> the packet sequence.
>
> I have tried the following simple scenario and it works correctly:
>
> Endpoint A Endpoint B
> DATA (TSN = 1) ------------->
> <------------- SACK (CTSN = 1)
>
> DATA (TSN = 2) -- (lost)---->
> DATA (TSN = 3) ------------->
> <------------- SACK (CTSN = 1, GAP = 3)
>
> DATA (TSN = 4) ------------->
> <------------ SACK (CTSN = 1, GAP = 3,4)
>
> DATA (TSN = 5) ------------->
> <------------ SACK (CTSN = 1, GAP = 3,4,5)
>
> DATA (TSN = 2) -(fast rtx)-->
> <---(lost)---- SACK (CTSN = 5)
>
> DATA (TSN = 2) -(t3 rtx) --->
>
> The T3_RTX retransmission happens because at the initial sending
> of TSN 2 (the one that was lost), the rtx timer was set and
> running. It was never reset since not all outstanding chunks
> have been acknowledged.
>
> Can you describe the SACKs in your scenario with CTSN and GAP breakdowns
> so I can try to reproduce it.
[-- Attachment #2: 1.html.Link0.dump --]
[-- Type: application/octet-stream, Size: 8450 bytes --]
next prev parent reply other threads:[~2008-04-22 4:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 7:56 [PATCH] SCTP: Fix DATA retransmit after fast retransmit Wei Yongjun
2008-04-18 19:41 ` Vlad Yasevich
2008-04-19 5:45 ` Wei Yongjun
2008-04-21 14:37 ` Vlad Yasevich
2008-04-22 4:29 ` Wei Yongjun [this message]
2008-04-23 19:53 ` Vlad Yasevich
2008-04-25 4:04 ` Wei Yongjun
2008-04-25 17:56 ` Vlad Yasevich
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=480D69B1.2020200@cn.fujitsu.com \
--to=yjwei@cn.fujitsu.com \
--cc=linux-sctp@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.