[ofw] Patch: [ipoib] Fix a bug on __recv_get_endpts.

Alex Estrin alex.estrin at qlogic.com
Wed Nov 5 10:12:01 PST 2008


Good catch.

Thanks,
Alex.

> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org 
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
> Sent: Wednesday, November 05, 2008 12:16 PM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] Patch: [ipoib] Fix a bug on __recv_get_endpts.
> 
> Index: Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c
> ===================================================================
> --- Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c (revision 3431)
> +++ Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c (revision 3432)
> @@ -1850,6 +1850,7 @@
>      IPOIB_PRINT_EXIT( TRACE_LEVEL_ERROR, IPOIB_DBG_ERROR,
>       ("__endpt_mgr_insert returned %s\n",
>       p_port->p_adapter->p_ifc->get_err_str( status )) );
> +    *pp_src = NULL;
>      return;
>     }
>     cl_obj_unlock( &p_port->obj );
> 



More information about the ofw mailing list