When an ICMP message is received and the MTU shrinks, only
mark outstanding chunks for retransmissions. MFC after: 3 days
This commit is contained in:
parent
bb481a8edd
commit
ca0f81984a
@ -125,11 +125,8 @@ sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz)
|
||||
if (chk->sent < SCTP_DATAGRAM_RESEND) {
|
||||
sctp_flight_size_decrease(chk);
|
||||
sctp_total_flight_decrease(stcb, chk);
|
||||
}
|
||||
if (chk->sent != SCTP_DATAGRAM_RESEND) {
|
||||
sctp_ucount_incr(stcb->asoc.sent_queue_retran_cnt);
|
||||
}
|
||||
chk->sent = SCTP_DATAGRAM_RESEND;
|
||||
sctp_ucount_incr(stcb->asoc.sent_queue_retran_cnt);
|
||||
chk->rec.data.doing_fast_retransmit = 0;
|
||||
if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FLIGHT_LOGGING_ENABLE) {
|
||||
sctp_misc_ints(SCTP_FLIGHT_LOG_DOWN_PMTU,
|
||||
@ -143,6 +140,7 @@ sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef INET
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user