patch-2.1.93 linux/net/ipv4/tcp_timer.c

Next file: linux/net/ipv6/tcp_ipv6.c
Previous file: linux/net/ipv4/tcp_output.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.92/linux/net/ipv4/tcp_timer.c linux/net/ipv4/tcp_timer.c
@@ -5,7 +5,7 @@
  *
  *		Implementation of the Transmission Control Protocol(TCP).
  *
- * Version:	$Id: tcp_timer.c,v 1.45 1998/03/30 08:41:31 davem Exp $
+ * Version:	$Id: tcp_timer.c,v 1.47 1998/04/03 10:52:05 davem Exp $
  *
  * Authors:	Ross Biro, <bir7@leland.Stanford.Edu>
  *		Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -451,6 +451,7 @@
 					if ((long)(now - conn->expires) <= 0)
 						break;
 
+
 					tcp_synq_unlink(tp, conn, prev);
 					if (conn->retrans >= sysctl_tcp_retries1) {
 #ifdef TCP_DEBUG
@@ -459,7 +460,11 @@
 #endif
 						(*conn->class->destructor)(conn);
 						tcp_dec_slow_timer(TCP_SLT_SYNACK);
-						sk->ack_backlog--;
+#ifdef TCP_NEW_LISTEN
+					tp->syn_backlog--;
+#else
+					sk->ack_backlog--;
+#endif
 						tcp_openreq_free(conn);
 
 						if (!tp->syn_wait_queue)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov