From: David Miller Date: Tue, 20 Jun 2006 07:06:27 +0000 (-0700) Subject: [PATCH] SCTP: Reset rtt_in_progress for the chunk when processing its sack. X-Git-Tag: v2.6.17.2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac3e4adefd766840f20e7cad6aa430f3fb491c4d;p=thirdparty%2Fkernel%2Fstable.git [PATCH] SCTP: Reset rtt_in_progress for the chunk when processing its sack. Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller Signed-off-by: Chris Wright --- diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c index f148f9576dd22..e5faa351aaade 100644 --- a/net/sctp/outqueue.c +++ b/net/sctp/outqueue.c @@ -1262,6 +1262,7 @@ static void sctp_check_transmitted(struct sctp_outq *q, if (!tchunk->tsn_gap_acked && !tchunk->resent && tchunk->rtt_in_progress) { + tchunk->rtt_in_progress = 0; rtt = jiffies - tchunk->sent_at; sctp_transport_update_rto(transport, rtt);