PERFORCE change 30642 for review
Robert Watson
rwatson at FreeBSD.org
Mon May 5 22:51:10 GMT 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;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list