HomeFreeBSD

sctp: don't do RTT measurements with cookies

Description

sctp: don't do RTT measurements with cookies

When receiving a cookie, the receiver does not know whether the
peer retransmitted the COOKIE-ECHO chunk or not. Therefore, don't
do an RTT measurement. It might be much too long.
To overcome this limitation, one could do at least two things:

  1. Bundle the INIT-ACK chunk with a HEARTBEAT chunk for doing the RTT measurement. But this is not allowed.
  2. Add a flag to the COOKIE-ECHO chunk, which indicates that it is the initial transmission, and not a retransmission. But this requires an RFC.

(cherry picked from commit c91ae48a25edd426efc49ade14fb675e07a0f5ed)

Details

Provenance
tuexenAuthored on Mar 16 2023, 9:45 AM
Parents
rGedff1d344c6b: tcp: fix TCP MD5 computation for the BBR and RACK stack
Branches
Unknown
Tags
Unknown