HomeFreeBSD

sctp: improve handling of stale cookie error causes

Description

sctp: improve handling of stale cookie error causes

  • If a measure of staleness of 0 is reported, use the RTT instead.
  • Ensure that we always send a cookie preservative parameter by rounding up during the calculation.
  • If allowed, perform a round trip time measurement.
  • Clear the overall error counter, since the error cause also acts like an ACK.

MFC after: 1 week

Details

Provenance
tuexenAuthored on Apr 30 2023, 9:39 AM
Parents
rG2e7797cd9bba: Yet another try to fix printf format conflict.
Branches
Unknown
Tags
Unknown