[PATCH 07/25] SCTP: Reset rtt_in_progress for the chunk when processing its sack.

Chris Wright
2006-06-27T20:13:12Z

[-- Attachment #1: sctp-reset-rtt_in_progress-for-the-chunk-when-processing-its-sack.patch --]
[-- Type: text/plain, Size: 862 bytes --]

-stable review patch. If anyone has any objections, please let us know.
------------------

From: David Miller <davem@davemloft.net>

Reset rtt_in_progress for the chunk when processing its sack.

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: Chris Wright <chrisw@sous-sol.org>
---

net/sctp/outqueue.c | 1 +
1 file changed, 1 insertion(+)

--- linux-2.6.17.1.orig/net/sctp/outqueue.c
+++ linux-2.6.17.1/net/sctp/outqueue.c
@@ -1262,6 +1262,7 @@ static void sctp_check_transmitted(struc
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);

--