|
@@ -929,7 +929,6 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout)
|
|
}
|
|
}
|
|
|
|
|
|
/* Finally, transmit new packets. */
|
|
/* Finally, transmit new packets. */
|
|
- start_timer = 0;
|
|
|
|
while ((chunk = sctp_outq_dequeue_data(q)) != NULL) {
|
|
while ((chunk = sctp_outq_dequeue_data(q)) != NULL) {
|
|
/* RFC 2960 6.5 Every DATA chunk MUST carry a valid
|
|
/* RFC 2960 6.5 Every DATA chunk MUST carry a valid
|
|
* stream identifier.
|
|
* stream identifier.
|
|
@@ -1028,7 +1027,7 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout)
|
|
list_add_tail(&chunk->transmitted_list,
|
|
list_add_tail(&chunk->transmitted_list,
|
|
&transport->transmitted);
|
|
&transport->transmitted);
|
|
|
|
|
|
- sctp_transport_reset_timers(transport, start_timer-1);
|
|
|
|
|
|
+ sctp_transport_reset_timers(transport, 0);
|
|
|
|
|
|
q->empty = 0;
|
|
q->empty = 0;
|
|
|
|
|