Don't set the ECT codepoint on retransmitted packets during SACK loss
recovery. This is required by RFC 3168. Submitted by: Richard Scheffenegger Reviewed by: rgrimes@, tuexen@, Cheng Cui MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D23118
This commit is contained in:
parent
a2d59694be
commit
47e2c17c12
@ -1162,6 +1162,7 @@ tcp_output(struct tcpcb *tp)
|
||||
* Ignore pure ack packets, retransmissions and window probes.
|
||||
*/
|
||||
if (len > 0 && SEQ_GEQ(tp->snd_nxt, tp->snd_max) &&
|
||||
(sack_rxmit == 0) &&
|
||||
!((tp->t_flags & TF_FORCEDATA) && len == 1)) {
|
||||
#ifdef INET6
|
||||
if (isipv6)
|
||||
|
@ -9477,6 +9477,7 @@ rack_output(struct tcpcb *tp)
|
||||
* retransmissions and window probes.
|
||||
*/
|
||||
if (len > 0 && SEQ_GEQ(tp->snd_nxt, tp->snd_max) &&
|
||||
(sack_rxmit == 0) &&
|
||||
!((tp->t_flags & TF_FORCEDATA) && len == 1)) {
|
||||
#ifdef INET6
|
||||
if (isipv6)
|
||||
|
Loading…
Reference in New Issue
Block a user