]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the detection of ECN-setup SYN-ACK packets.
authortuexen <tuexen@FreeBSD.org>
Mon, 28 Jan 2019 12:45:31 +0000 (12:45 +0000)
committertuexen <tuexen@FreeBSD.org>
Mon, 28 Jan 2019 12:45:31 +0000 (12:45 +0000)
commit7c894e37281fcfd3d4437488353ae5fc35d90fe9
tree22a2433f347485fcb334e4eca9964b26a6784912
parent12f0746328be0ccf56bae9fcc5f6f47ef679578a
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
sys/netinet/tcp_input.c
sys/netinet/tcp_stacks/rack.c