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.

Reviewed by: rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D28656

(cherry picked from commit ed782b9f5a7a05debe944a33b4ac9e5629a95803)

Details