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

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

diff -u --recursive --new-file v1.3.72/linux/net/ipv4/tcp_timer.c linux/net/ipv4/tcp_timer.c
@@ -70,8 +70,6 @@
 	 * the 120 second clamps though!
 	 */
 
-	sk->retransmits++;
-	sk->prot->retransmits++;
 	sk->backoff++;
 	sk->rto = min(sk->rto << 1, 120*HZ);
 	tcp_reset_xmit_timer(sk, TIME_WRITE, sk->rto);
@@ -208,8 +206,6 @@
 	/*
 	 *	Retransmission
 	 */
-	sk->retransmits++;
-	sk->prot->retransmits++;
 	sk->prot->retransmit (sk, 0);
 	tcp_write_timeout(sk);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this