aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libdtrace/tcp.d
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2020-02-13 15:14:46 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2020-02-13 15:14:46 +0000
commita3574665924113b9ac707dabed2013c722e602c7 (patch)
tree3d229aba54087f88c7ee834702b59b9a2dc1bea9 /cddl/lib/libdtrace/tcp.d
parent475b483aeef96d8bf47159f06761104d92c58c8c (diff)
downloadsrc-a3574665924113b9ac707dabed2013c722e602c7.tar.gz
src-a3574665924113b9ac707dabed2013c722e602c7.zip
sack_newdata and snd_recover hold the same value. Therefore, use only
a single instance: use snd_recover also where sack_newdata was used. Submitted by: Richard Scheffenegger Differential Revision: https://reviews.freebsd.org/D18811
Notes
Notes: svn path=/head/; revision=357858
Diffstat (limited to 'cddl/lib/libdtrace/tcp.d')
-rw-r--r--cddl/lib/libdtrace/tcp.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/libdtrace/tcp.d b/cddl/lib/libdtrace/tcp.d
index 7e3f67a9aa87..afcfdfadaf1e 100644
--- a/cddl/lib/libdtrace/tcp.d
+++ b/cddl/lib/libdtrace/tcp.d
@@ -244,7 +244,7 @@ translator tcpsinfo_t < struct tcpcb *p > {
tcps_cwnd_ssthresh = p == NULL ? -1 : p->snd_ssthresh;
tcps_srecover = p == NULL ? -1 : p->snd_recover;
tcps_sack_fack = p == NULL ? 0 : p->snd_fack;
- tcps_sack_snxt = p == NULL ? 0 : p->sack_newdata;
+ tcps_sack_snxt = p == NULL ? 0 : p->snd_recover;
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;