HomeFreeBSD

Greatly reduce the number of #ifdefs supporting the TCP_RFC7413 kernel option.

Description

Greatly reduce the number of #ifdefs supporting the TCP_RFC7413 kernel option.

The conditional compilation support is now centralized in
tcp_fastopen.h and tcp_var.h. This doesn't provide the minimum
theoretical code/data footprint when TCP_RFC7413 is disabled, but
nearly all the TFO code should wind up being removed by the optimizer,
the additional footprint in the syncache entries is a single pointer,
and the additional overhead in the tcpcb is at the end of the
structure.

This enables the TCP_RFC7413 kernel option by default in amd64 and
arm64 GENERIC.

Reviewed by: hiren
MFC after: 1 month
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D14048

Details

Committed
pkelseyFeb 26 2018, 3:03 AM
Reviewer
hiren
Differential Revision
D14048: Modify handling of TCP_RFC7413 (TFO) kernel option
Parents
rS330001: This is an implementation of the client side of TCP Fast Open (TFO)
Branches
Unknown
Tags
Unknown