svn commit: r360751 - stable/11/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu May 7 02:34:59 UTC 2020
Author: tuexen
Date: Thu May 7 02:34:58 2020
New Revision: 360751
URL: https://svnweb.freebsd.org/changeset/base/360751
Log:
MFC r355265: Restart RTT measurement
When changing the MTU of an SCTP path, not only cancel all ongoing
RTT measurements, but also scheldule new ones for the future.
Submitted by: Julius Flohr
Differential Revision: https://reviews.freebsd.org/D22547
Modified:
stable/11/sys/netinet/sctp_usrreq.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/netinet/sctp_usrreq.c
==============================================================================
--- stable/11/sys/netinet/sctp_usrreq.c Thu May 7 02:31:24 2020 (r360750)
+++ stable/11/sys/netinet/sctp_usrreq.c Thu May 7 02:34:58 2020 (r360751)
@@ -138,7 +138,10 @@ sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_
chk->rec.data.tsn);
}
/* Clear any time so NO RTT is being done */
- chk->do_rtt = 0;
+ if (chk->do_rtt == 1) {
+ chk->do_rtt = 0;
+ chk->whoTo->rto_needed = 1;
+ }
}
}
}
More information about the svn-src-all
mailing list