]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Retain only mutually supported TCP options after simultaneous SYN
authorRichard Scheffenegger <rscheff@FreeBSD.org>
Thu, 21 May 2020 21:26:21 +0000 (21:26 +0000)
committerRichard Scheffenegger <rscheff@FreeBSD.org>
Thu, 21 May 2020 21:26:21 +0000 (21:26 +0000)
commit8e0511652b1023d14eb506b47e7bc983014d9a94
tree55f0e36f6f770d8af9e48f9a41d4c1c09a67a5ab
parent6e16d87751d14df6c72e2c710d49ad530b574998
Retain only mutually supported TCP options after simultaneous SYN

When receiving a parallel SYN in SYN-SENT state, remove all the
options only we supported locally before sending the SYN,ACK.

This addresses a consistency issue on parallel opens.

Also, on such a parallel open, the stack could be coaxed into
running with timestamps enabled, even if administratively disabled.

Reviewed by: tuexen (mentor)
Approved by: tuexen (mentor)
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D23371
sys/netinet/tcp_input.c
sys/netinet/tcp_stacks/bbr.c
sys/netinet/tcp_stacks/rack.c