[ofw] [PATCH] Fix BSOD when handling disconnection
Fab Tillier
ftillier at windows.microsoft.com
Mon Jun 30 15:59:41 PDT 2008
This patch adds a missing reference taken on a QP when delaying the QP modification for a received DREQ.
Signed-off-by: Fab Tillier <ftillier at microsoft.com>
diff -up -r -X trunk\docs\dontdiff.txt -I \$Id: old\core\al\kernel\al_ndi_cm.c trunk\core\al\kernel\al_ndi_cm.c
--- old\core\al\kernel\al_ndi_cm.c Mon Jun 30 14:50:58 2008
+++ trunk\core\al\kernel\al_ndi_cm.c Mon Jun 30 15:57:07 2008
@@ -708,6 +708,7 @@ __ndi_proc_dreq_async(
//p_async_dreq->cm.h_qp->p_irp_que->state = NDI_CM_IDLE;
exit:
+ deref_al_obj( &p_async_dreq->cm.h_qp->obj );
cl_free( p_async_dreq );
AL_EXIT( AL_DBG_NDI );
}
@@ -734,6 +735,7 @@ __ndi_proc_dreq(
goto exit;
}
+ ref_al_obj( &p_cm->h_qp->obj );
p_async_dreq->cm = *p_cm;
p_async_dreq->item.pfn_callback = __ndi_proc_dreq_async;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dreq_bsod.patch
Type: application/octet-stream
Size: 653 bytes
Desc: dreq_bsod.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080630/66460ac7/attachment.obj>
More information about the ofw
mailing list