Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 1999 20:06:28 -0500 (EST)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Don Lewis <Don.Lewis@tsc.tdk.com>
Cc:        Jonathan Lemon <jlemon@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet tcp_input.c
Message-ID:  <Pine.BSF.4.10.9912132004550.785-100000@green.dyndns.org>
In-Reply-To: <199912131806.KAA19537@salsa.gv.tsc.tdk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Is this what you mean?


Index: tcp_input.c
===================================================================
RCS file: /usr2/ncvs/src/sys/netinet/tcp_input.c,v
retrieving revision 1.98
diff -u -r1.98 tcp_input.c
--- tcp_input.c	1999/12/11 04:05:52	1.98
+++ tcp_input.c	1999/12/14 01:04:11
@@ -1125,8 +1125,8 @@
 	 *      RFC 1337.
 	 */
 	if (tiflags & TH_RST) {
-		if (ti->ti_seq >= tp->last_ack_sent &&
-		    ti->ti_seq < tp->last_ack_sent + tp->rcv_wnd) {
+		if (SEQ_GEQ(ti->ti_seq, tp->last_ack_sent) &&
+		    SEQ_LT(ti->ti_seq, tp->last_ack_sent + tp->rcv_wnd)) {
 			switch (tp->t_state) {
 
 			case TCPS_SYN_RECEIVED:

-- 
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912132004550.785-100000>