]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Retain only mutually supported TCP options after simultaneous SYN
authorrscheff <rscheff@FreeBSD.org>
Thu, 21 May 2020 21:26:21 +0000 (21:26 +0000)
committerrscheff <rscheff@FreeBSD.org>
Thu, 21 May 2020 21:26:21 +0000 (21:26 +0000)
commitc201e08228fb79ff327fc2a4edde1e32cc9a43fc
tree55f0e36f6f770d8af9e48f9a41d4c1c09a67a5ab
parent55bf91efe4b5142f8189fefa75f6d6049279431c
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