Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 15:51:10 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 30642 for review
Message-ID:  <200305052251.h45MpAvs017473@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30642

Change 30642 by rwatson@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305052251.h45MpAvs017473>