From owner-cvs-all Mon Dec 13 17: 9:47 1999 Delivered-To: cvs-all@freebsd.org Received: from green.dyndns.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 736AF1502C; Mon, 13 Dec 1999 17:09:23 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost [127.0.0.1]) by green.dyndns.org (8.9.3/8.9.3) with ESMTP id UAA00921; Mon, 13 Dec 1999 20:06:29 -0500 (EST) (envelope-from green@FreeBSD.org) Date: Mon, 13 Dec 1999 20:06:28 -0500 (EST) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Don Lewis Cc: Jonathan Lemon , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet tcp_input.c In-Reply-To: <199912131806.KAA19537@salsa.gv.tsc.tdk.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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