HomeFreeBSD

Fix the detection of ECN-setup SYN-ACK packets.

Description

Fix the detection of ECN-setup SYN-ACK packets.

RFC 3168 defines an ECN-setup SYN-ACK packet as on with the ECE flags
set and the CWR flags not set. The code was only checking if ECE flag
is set. This patch adds the check to verify that the CWR flags is not
set.

Submitted by: Richard Scheffenegger
Reviewed by: tuexen@
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18996

Details

Committed
tuexenJan 28 2019, 12:45 PM
Differential Revision
D18996: Disallow broken ECN TCP stacks from using ECN
Parents
rS343524: rsu(4): do not ignore mgmtrate / mcastrate / ucastrate.
Branches
Unknown
Tags
Unknown