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)
Wed, Dec 17, 3:05 AM
Unknown Object (File)
Sat, Dec 13, 2:40 AM
Unknown Object (File)
Fri, Dec 12, 1:10 AM
Unknown Object (File)
Thu, Dec 11, 11:00 PM
Unknown Object (File)
Mon, Dec 8, 6:15 AM
Unknown Object (File)
Sun, Nov 30, 12:58 AM
Unknown Object (File)
Thu, Nov 27, 5:48 AM
Unknown Object (File)
Thu, Nov 27, 2:37 AM
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 30608
Build 28348: arc lint + arc unit

Event Timeline

sys/netinet/tcp_stacks/bbr.c
11656

why this change?

sys/netinet/tcp_input.c
1635

undo style change.

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