|
@@ -1391,7 +1391,8 @@ static void sctp_check_transmitted(struct sctp_outq *q,
|
|
|
*/
|
|
|
if (!tchunk->tsn_gap_acked) {
|
|
|
tchunk->tsn_gap_acked = 1;
|
|
|
- *highest_new_tsn_in_sack = tsn;
|
|
|
+ if (TSN_lt(*highest_new_tsn_in_sack, tsn))
|
|
|
+ *highest_new_tsn_in_sack = tsn;
|
|
|
bytes_acked += sctp_data_size(tchunk);
|
|
|
if (!tchunk->transport)
|
|
|
migrate_bytes += sctp_data_size(tchunk);
|