]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
SCTP: Reset rtt_in_progress for the chunk when processing its sack.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 26 Aug 2006 00:41:12 +0000 (02:41 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sat, 26 Aug 2006 00:41:12 +0000 (02:41 +0200)
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/sctp/outqueue.c

index f148f9576dd226035b3b6c34d439d7558818ce4a..e5faa351aaadeffd1f1b5a2bc1636c39384d0cae 100644 (file)
@@ -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);