[ofw] [PATCH] Destroy CEP when a CM REQ fails

Leonid Keller leonid at mellanox.co.il
Wed Jul 9 05:19:44 PDT 2008


Applied in 1358. Thank you. 

> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org 
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Fab Tillier
> Sent: Wednesday, July 09, 2008 3:10 AM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] [PATCH] Destroy CEP when a CM REQ fails
> 
> This patch adds a missing call to destroy a QP's associated 
> CEP if a ND-related CM REQ times out or fails for any reason.
> 
> 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      Tue Jul 08 17:00:02 2008
> +++ trunk\core\al\kernel\al_ndi_cm.c    Tue Jul 08 17:05:04 2008
> @@ -585,6 +585,7 @@ __ndi_complete_req_irp(
>                 __ndi_release_lock( &h_qp->p_irp_queue->csq, irql );
>                 __ndi_complete_irp( h_qp, Irp, code );
>         }
> +       al_destroy_cep( qp_get_al( h_qp ), 
> &((al_conn_qp_t*)h_qp)->cid, 
> + TRUE );
>         AL_EXIT( AL_DBG_NDI );
>  }
> 
> 



More information about the ofw mailing list