aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2018-08-06 09:22:07 +0000
committerRandall Stewart <rrs@FreeBSD.org>2018-08-06 09:22:07 +0000
commit936b2b64ae413c203b397023d4844f8f657c452a (patch)
tree338dc4ffb9fe4a7fb042f952efc9e2226af47e39 /sys
parentdb119089beb7c616722f7e5265a55cecb9c84f12 (diff)
downloadsrc-936b2b64ae413c203b397023d4844f8f657c452a.tar.gz
src-936b2b64ae413c203b397023d4844f8f657c452a.zip
This fixes a bug in Rack where we were
not properly using the correct value for Delayed Ack. Sponsored by: Netflix Inc. Differential Revision: https://reviews.freebsd.org/D16579
Notes
Notes: svn path=/head/; revision=337375
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_stacks/rack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index 4191991fb899..321fcb11c506 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -2275,7 +2275,7 @@ rack_start_hpts_timer(struct tcp_rack *rack, struct tcpcb *tp, uint32_t cts, int
}
hpts_timeout = rack_timer_start(tp, rack, cts);
if (tp->t_flags & TF_DELACK) {
- delayed_ack = tcp_delacktime;
+ delayed_ack = TICKS_2_MSEC(tcp_delacktime);
rack->r_ctl.rc_hpts_flags |= PACE_TMR_DELACK;
}
if (delayed_ack && ((hpts_timeout == 0) ||