changeset 8038:4213b89e6abe

6768904 tcp_ordrel_mp is freed too early
author Kacheong Poon <Kacheong.Poon@Sun.COM>
date Fri, 07 Nov 2008 08:47:26 -0800
parents f709ca62ace9
children 9cf1ecb066d9
files usr/src/uts/common/inet/tcp/tcp.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/inet/tcp/tcp.c	Fri Nov 07 13:32:40 2008 +0000
+++ b/usr/src/uts/common/inet/tcp/tcp.c	Fri Nov 07 08:47:26 2008 -0800
@@ -4195,12 +4195,6 @@
 	ASSERT((connp->conn_fanout != NULL && connp->conn_ref >= 4) ||
 	    (connp->conn_fanout == NULL && connp->conn_ref >= 3));
 
-	/* End point has closed this TCP, no need to send up T_ordrel_ind. */
-	if (tcp->tcp_ordrel_mp != NULL) {
-		freeb(tcp->tcp_ordrel_mp);
-		tcp->tcp_ordrel_mp = NULL;
-	}
-
 	mutex_enter(&tcp->tcp_eager_lock);
 	if (tcp->tcp_conn_req_cnt_q0 != 0 || tcp->tcp_conn_req_cnt_q != 0) {
 		/* Cleanup for listener */