]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tcp rack: improve handling of front states
authorMichael Tuexen <tuexen@FreeBSD.org>
Sat, 11 May 2024 14:28:45 +0000 (16:28 +0200)
committerMichael Tuexen <tuexen@FreeBSD.org>
Sat, 11 May 2024 14:28:45 +0000 (16:28 +0200)
commit2f923a0cedb8db9b8bd042c5b457dee6333604fe
tree634abf6a14c207afc6c36c207cfb35e991a6a249
parentc1ebd76c3f283b10afe6b64f29fe68c4d1be3f8c
tcp rack: improve handling of front states

When the RACK stack wants to send a FIN, but still has outstanding
or unsent data, it sends a challenge ack. Don't do this when the
TCP endpoint is still in the front states, since it does not
make sense.
Reviewed by: rrs
MFC after: 3 days
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D45122
sys/netinet/tcp_stacks/rack.c