HomeFreeBSD

Correctly set up the initial TCP congestion window

Description

Correctly set up the initial TCP congestion window
in all cases, by adjust snd_una right after the
connection initialization, to include the one byte
in sequence space occupied by the SYN bit.

This does not change the regular ACK processing,
while making the BYTES_THIS_ACK macro to work properly.

PR: 235256
Reviewed by: tuexen (mentor), rgrimes (mentor)
Approved by: tuexen (mentor), rgrimes (mentor)
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D19000

Details

Provenance
rscheffAuthored on Apr 21 2020, 1:05 PM
Parents
rG59dafcde6270: kqueue: fix conversion of timer data to sbintime
Branches
Unknown
Tags
Unknown

Event Timeline