]> 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>
Thu, 1 Jun 2017 14:58:26 +0000 (14:58 +0000)
committertuexen <tuexen@FreeBSD.org>
Thu, 1 Jun 2017 14:58:26 +0000 (14:58 +0000)
commit5995fe1e066ca199df144e82bab6158f8c6a82fd
tree5958b5d8aece4498df9e1b605c49d0ca7d1e46ae
parent2702789d66596515e5e42a691f54e215085cc606
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
Differential Revision: https://reviews.freebsd.org/D10424
sys/netinet/tcp_input.c
sys/netinet/tcp_stacks/fastpath.c