TCP BBR: do not log an uninitialized value

Reviewed by:		rrs
CID:			1523789
MFC after:		1 week
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D48281
This commit is contained in:
Michael Tuexen
2025-01-02 16:17:05 +01:00
parent 0749d81343
commit c7e81cc043
+1 -1
View File
@@ -607,7 +607,7 @@ bbr_timer_start(struct tcpcb *tp, struct tcp_bbr *bbr, uint32_t cts)
TCPT_RANGESET_NOSLOP(to, tov,
(bbr->r_ctl.rc_min_rto_ms * MS_IN_USEC),
(bbr->rc_max_rto_sec * USECS_IN_SECOND));
bbr_log_timer_var(bbr, 2, cts, 0, srtt, 0, to);
bbr_log_timer_var(bbr, 2, cts, 0, bbr_get_rtt(bbr, BBR_SRTT), 0, to);
return (to);
}
return (0);