]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When a SYN-ACK is received in SYN-SENT state, RFC 793 requires the
authortuexen <tuexen@FreeBSD.org>
Wed, 26 Apr 2017 06:20:58 +0000 (06:20 +0000)
committertuexen <tuexen@FreeBSD.org>
Wed, 26 Apr 2017 06:20:58 +0000 (06:20 +0000)
commitbecaf5f7f2e608c98d9c470f1ae004b5fe3e20e5
tree20e4c21d86a267aadfa07096911303b643db96f7
parent64dca7e37266020a03248a8806c42b674278aa2a
When a SYN-ACK is received in SYN-SENT state, RFC 793 requires the
validation of SEG.ACK as the first step. If the ACK is not acceptable,
a RST segment should be sent and the segment should be dropped.
Up to now, the segment was partially processed.
This patch moves the check for the SEG.ACK validation up to the front
as required.
Reviewed by: hiren, gnn
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D10424
sys/netinet/tcp_input.c
sys/netinet/tcp_stacks/fastpath.c