HomeFreeBSD

Use appropriate MSS value when populating the TCP FO client cookie cache

Description

Use appropriate MSS value when populating the TCP FO client cookie cache

When a client receives a SYN-ACK segment with a TFP fast open cookie,
but without an MSS option, an MSS value from uninitialised stack memory is used.
This patch ensures that in case no MSS option is included in the SYN-ACK,
the appropriate value as given in RFC 7413 is used.

Reviewed by: kbowling@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D16175

Details

Provenance
tuexenAuthored on
Differential Revision
D16175: Use appropriate MSS when populating the TCP fast open client cookie cache
Parents
rS336166: Fix build broken by r336130
Branches
Unknown
Tags
Unknown