svn commit: r273765 - stable/10/cddl/lib/libdtrace
Mark Johnston
markj at FreeBSD.org
Tue Oct 28 06:17:26 UTC 2014
Author: markj
Date: Tue Oct 28 06:17:25 2014
New Revision: 273765
URL: https://svnweb.freebsd.org/changeset/base/273765
Log:
MFC r273370:
Correct the calculation of tcps_rto in the struct tcpcb -> tcpsinfo_t
translator.
Modified:
stable/10/cddl/lib/libdtrace/tcp.d
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/cddl/lib/libdtrace/tcp.d
==============================================================================
--- stable/10/cddl/lib/libdtrace/tcp.d Tue Oct 28 04:59:33 2014 (r273764)
+++ stable/10/cddl/lib/libdtrace/tcp.d Tue Oct 28 06:17:25 2014 (r273765)
@@ -197,7 +197,7 @@ translator tcpsinfo_t < struct tcpcb *p
tcps_cwnd_ssthresh = p == NULL ? -1 : p->snd_ssthresh;
tcps_sack_fack = p == NULL ? 0 : p->snd_fack;
tcps_sack_snxt = p == NULL ? 0 : p->sack_newdata;
- tcps_rto = p == NULL ? -1 : p->t_rxtcur / 1000; /* XXX */
+ tcps_rto = p == NULL ? -1 : (p->t_rxtcur * 1000) / `hz;
tcps_mss = p == NULL ? -1 : p->t_maxseg;
tcps_retransmit = p == NULL ? -1 : p->t_rxtshift > 0 ? 1 : 0;
};
More information about the svn-src-stable
mailing list