]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tcp: improve behaviour when using TCP_NOOPT
authorMichael Tuexen <tuexen@FreeBSD.org>
Sun, 14 Feb 2021 11:10:31 +0000 (12:10 +0100)
committerMichael Tuexen <tuexen@FreeBSD.org>
Sun, 14 Feb 2021 11:16:57 +0000 (12:16 +0100)
commited782b9f5a7a05debe944a33b4ac9e5629a95803
tree890e2e6e137624142690f31cd195d3908e7b13dd
parent1bd44b11e59f1e9ee7245f8de1f823bc5287b9ef
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
sys/netinet/tcp_output.c