PERFORCE change 30642 for review

Robert Watson rwatson at FreeBSD.org
Mon May 5 15:52:32 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=30642

Change 30642 by rwatson at rwatson_tislabs on 2003/05/05 15:50:27

	Restore older ordering of zeroing pcb pointer in socket to
	minimize diff against -current.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/netinet/tcp_subr.c#31 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/netinet/tcp_subr.c#31 (text+ko) ====

@@ -1648,11 +1648,11 @@
 	}
 	tcp_discardcb(tp);
 	so = inp->inp_socket;
+	so->so_pcb = NULL;
 	tw->tw_cred = crhold(so->so_cred);
 	tw->tw_so_options = so->so_options;
 	if (acknow)
 		tcp_twrespond(tw, so, NULL, TH_ACK);
-	so->so_pcb = NULL;
 	sotryfree(so);
 	inp->inp_socket = NULL;
 	inp->inp_ppcb = (caddr_t)tw;


More information about the p4-projects mailing list