Page MenuHomeFreeBSD

Retain only mutually supported TCP options after simultaneous SYN
ClosedPublic

Authored by rscheff on Jan 26 2020, 6:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 19 2024, 2:26 PM
Unknown Object (File)
Apr 28 2024, 3:51 AM
Unknown Object (File)
Apr 28 2024, 3:51 AM
Unknown Object (File)
Apr 28 2024, 3:51 AM
Unknown Object (File)
Apr 28 2024, 3:51 AM
Unknown Object (File)
Apr 27 2024, 10:27 PM
Unknown Object (File)
Apr 20 2024, 4:54 PM
Unknown Object (File)
Mar 22 2024, 11:08 PM
Subscribers

Details

Summary

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.

Test Plan

see tcp-testsuite/snippets/syn-rcvd-via-syn-sent-ipv4.pkt

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28929
Build 26919: arc lint + arc unit

Event Timeline

sys/netinet/tcp_stacks/bbr.c
11656 ↗(On Diff #70771)

why this change?

sys/netinet/tcp_input.c
1632–1633

undo style change.

This revision is now accepted and ready to land.May 21 2020, 1:55 PM