Subject: CVS commit: [netbsd-2-0] src/sys/netinet
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 04/20/2004 20:27:47
Module Name: src
Committed By: jmc
Date: Tue Apr 20 20:27:47 UTC 2004
Modified Files:
src/sys/netinet [netbsd-2-0]: tcp_subr.c
Log Message:
Pullup patch (requested by itojun in ticket #169)
If a segment is received with RST set and the segment is completely to the
left of the receive window, ignore it. Add some additional comments to
the code that deals with received segemnts that are completely to the right
of the receive window. If an invalid SYN is received, force an ACK and
drop it; if the other side really sent the SYN; it'll respond with a reset.
Respond to RST by ACK, as suggested in NISCC recommendation.
Rate-limit ACKs against RSTs and SYNs.
If SYN is coming and RCV.NXT == SEG.SEQ, then ACK with value - 1.
To generate a diff of this commit:
cvs rdiff -r1.160.2.1 -r1.160.2.2 src/sys/netinet/tcp_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.