mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
TCP BBR: remove dead code
No functional change intended.
Reviewed by: Peter Lei, rrs (earlier version)
CID: 1523802
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D48341
(cherry picked from commit e7fbf52a3e)
This commit is contained in:
parent
0cc48e6317
commit
f284154896
1 changed files with 0 additions and 4 deletions
|
|
@ -6770,8 +6770,6 @@ bbr_update_rtt(struct tcpcb *tp, struct tcp_bbr *bbr,
|
|||
t = cts - rsm->r_tim_lastsent[0];
|
||||
else
|
||||
t = 1;
|
||||
if ((int)t <= 0)
|
||||
t = 1;
|
||||
bbr->r_ctl.rc_last_rtt = t;
|
||||
bbr_update_bbr_info(bbr, rsm, t, cts, to->to_tsecr, 0,
|
||||
BBR_RTT_BY_EXACTMATCH, rsm->r_tim_lastsent[0], ack_type, to);
|
||||
|
|
@ -6812,8 +6810,6 @@ bbr_update_rtt(struct tcpcb *tp, struct tcp_bbr *bbr,
|
|||
t = cts - rsm->r_tim_lastsent[i];
|
||||
else
|
||||
t = 1;
|
||||
if ((int)t <= 0)
|
||||
t = 1;
|
||||
bbr->r_ctl.rc_last_rtt = t;
|
||||
bbr_update_bbr_info(bbr, rsm, t, cts, to->to_tsecr, uts, BBR_RTT_BY_TSMATCHING,
|
||||
rsm->r_tim_lastsent[i], ack_type, to);
|
||||
|
|
|
|||
Loading…
Reference in a new issue