mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
tcp: rack fails to send out a TLP after a MTU change
When rack sends out a TLP it sets up various state to make sure it avoids the cwnd (its been more than 1 RTT since our last send) and it may at times send new data. If an MTU change as occurred and our cwnd has collapsed we can have a situation where must_retran flag is set and we obey the cwnd thus never sending the TLP and then sitting stuck. This one line fix addresses that problem Reviewed by: Michael Tuexen Sponsored by: Netflix Inc. Differential Revision: https://reviews.freebsd.org/D33231
This commit is contained in:
parent
e43d081f35
commit
dadbc04250
|
@ -17139,6 +17139,7 @@ rack_output(struct tcpcb *tp)
|
|||
len = cwin;
|
||||
}
|
||||
if (rack->r_must_retran &&
|
||||
(doing_tlp == 0) &&
|
||||
(rsm == NULL)) {
|
||||
/*
|
||||
* Non-Sack and we had a RTO or Sack/non-Sack and a
|
||||
|
|
Loading…
Reference in a new issue