patch-2.1.49 linux/include/net/tcp.h

Next file: linux/CREDITS
Previous file: linux/include/linux/nfsd/syscall.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.48/linux/include/net/tcp.h linux/include/net/tcp.h
@@ -566,7 +566,7 @@
 	default:
 		if (oldstate==TCP_ESTABLISHED)
 			tcp_statistics.TcpCurrEstab--;
-		if (state == TCP_TIME_WAIT)
+		if (state == TCP_TIME_WAIT || state == TCP_CLOSE)
 			sk->prot->rehash(sk);
 	}
 }


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