aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2010-04-30 22:41:09 -0400
committerVlad Yasevich <vladislav.yasevich@hp.com>2010-04-30 22:41:09 -0400
commitae19c54866450f6c6f79223ca7d37965859a54e1 (patch)
tree4da39a450974841532148b15b15de182c8e40dac /net/sctp/outqueue.c
parentd598b166ced20d9b9281ea3527c0e18405ddb803 (diff)
sctp: remove 'resent' bit from the chunk
The 'resent' bit is used to make sure that we don't update rto estimate based on retransmitted chunks. However, we already have the 'rto_pending' bit that we test when need to update rto, so 'resent' bit is just extra. Additionally, we currently have a bug in that we always set a 'resent' bit and thus rto estimate is only updated by Heartbeats. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/outqueue.c')
-rw-r--r--net/sctp/outqueue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c
index a4fe7dee76e8..4e551ba8998c 100644
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -1405,7 +1405,6 @@ static void sctp_check_transmitted(struct sctp_outq *q,
1405 * instance). 1405 * instance).
1406 */ 1406 */
1407 if (!tchunk->tsn_gap_acked && 1407 if (!tchunk->tsn_gap_acked &&
1408 !tchunk->resent &&
1409 tchunk->rtt_in_progress) { 1408 tchunk->rtt_in_progress) {
1410 tchunk->rtt_in_progress = 0; 1409 tchunk->rtt_in_progress = 0;
1411 rtt = jiffies - tchunk->sent_at; 1410 rtt = jiffies - tchunk->sent_at;