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
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D22547
This commit is contained in:
Michael Tuexen 2019-12-01 17:35:36 +00:00
parent e25b0dab9a
commit 669a285ffb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355265

View File

@ -143,7 +143,10 @@ sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz)
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;
}
}
}
}