From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Yongjun Date: Fri, 25 Apr 2008 04:04:13 +0000 Subject: Re: [PATCH] SCTP: Fix DATA retransmit after fast retransmit Message-Id: <4811583D.90308@cn.fujitsu.com> List-Id: References: <48085441.2030904@cn.fujitsu.com> In-Reply-To: <48085441.2030904@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sctp@vger.kernel.org Hi Vlad: Vlad Yasevich wrote: > Hi Wei > > I was able to reproduce the problem as well as understand when the rfc > really > wants us to do. > > On further analysis we have a lot of problems with fast retransmit. > > 1. We really should be restarting the T3 timer any time we fast > retransmit the > lowest outstanding TSN. In your scenario, we would restart the T3-rtx > time when > we fast retransmit TSN 2. Does this means that when we do fast retransmit, we would restart the T3-rtx time? If not, fast retransmit TSN1 or TSN5 or the other does not need restart the T3-rtx? > > 2. We should not change the cnwd every time we enter hit the fast > retransmit > event. We should follow the Fast Recovery algorithm as specified in > the spec. > > 3. We only be sending 1 MTU worth fast retransmit. What happens now > is if we have > multiple chunks to retransmit, we queue all the chunks on the > retransmit queue, fast > retransmit one and call outq_flush() which will send the rest, > assuming cwnd allows it. > For an on-the-wire observer, it appears like we fast retransmitted > more the 1-mtu worth > of data. >