PERFORCE change 136183 for review
Steve Wise
swise at FreeBSD.org
Mon Feb 25 20:08:22 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=136183
Change 136183 by swise at swise:vic10:iwarp on 2008/02/25 20:08:15
Don't use socket ptr after closing in process_connected().
Affected files ...
.. //depot/projects/iwarp/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c#6 edit
Differences ...
==== //depot/projects/iwarp/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c#6 (text+ko) ====
@@ -1543,8 +1543,8 @@
if ((ep->com.so->so_state & SS_ISCONNECTED) && !ep->com.so->so_error) {
send_mpa_req(ep);
} else {
+ connect_reply_upcall(ep, -ep->com.so->so_error);
close_socket(&ep->com);
- connect_reply_upcall(ep, -ep->com.so->so_error);
state_set(&ep->com, DEAD);
put_ep(&ep->com);
}
More information about the p4-projects
mailing list