Subject: Ding, dong, the (TCP) bug is dead!
To: None <port-alpha@NetBSD.ORG>
From: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
List: port-alpha
Date: 08/13/1995 21:12:48
Well, i found it... and i feel sort-of stupid.  However, i'm consoled
by the fact that it wasn't particularly annoying -- indeed, it took me
a year to notice it and decide to hunt it down and kill it.  8-)


diff below.  you'll want it and the other diff that i sent out today
(and, again, i remind people who aren't using the Alpha sources that
they don't need these patches 8-).


chris
===================================================================
RCS file: /usr/users/cgd/NetBSD/cvs/src/sys/netinet/tcp_input.c,v
retrieving revision 1.11
diff -c -r1.11 tcp_input.c
*** 1.11	1995/08/13 22:40:22
--- tcp_input.c	1995/08/14 01:05:47
***************
*** 213,219 ****
  	if (tp->t_state == TCPS_SYN_RECEIVED && q->ipqe_tcp->ti_len)
  		return (0);
  	do {
! 		tp->rcv_nxt += ti->ti_len;
  		flags = q->ipqe_tcp->ti_flags & TH_FIN;
  
  		nq = q->ipqe_q.le_next;
--- 213,219 ----
  	if (tp->t_state == TCPS_SYN_RECEIVED && q->ipqe_tcp->ti_len)
  		return (0);
  	do {
! 		tp->rcv_nxt += q->ipqe_tcp->ti_len;
  		flags = q->ipqe_tcp->ti_flags & TH_FIN;
  
  		nq = q->ipqe_q.le_next;