HomeFreeBSD

tcp: improve behaviour when using TCP_NOOPT

Description

tcp: improve behaviour when using TCP_NOOPT

Use ISS for SEG.SEQ when sending a SYN-ACK segment in response to
an SYN segment received in the SYN-SENT state on a socket having
the IPPROTO_TCP level socket option TCP_NOOPT enabled.

Approved by: re (gjb)
Reviewed by: rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D28656

(cherry picked from commit ed782b9f5a7a05debe944a33b4ac9e5629a95803)
(cherry picked from commit e949dcc283cd3b19e8e3113d8d3e10a72c2bbe6e)

Details

Provenance
tuexenAuthored on Feb 14 2021, 11:10 AM
Reviewer
rscheff
Differential Revision
D28656: Fix SEG.SEQ in SYN.ACK when handling SYN in SYN-SENT on socket with TCP_NOOPT enabled.
Parents
rG811deba9df26: Remove __NO_TLS.
Branches
Unknown
Tags
Unknown