[Openib-windows] Dereference for p_ci_ca->obj

Anatoly Lisenko anatolyl at voltaire.com
Thu Dec 7 08:52:59 PST 2006


Hi,

 

I think that there need be deref for p_ci_ca->obj :

 

Index: ual_mgr.c

===================================================================

--- ual_mgr.c      (revision 554)

+++ ual_mgr.c   (working copy)

@@ -1010,6 +1010,8 @@

                                    if( status != IB_SUCCESS) {

 
AL_PRINT(TRACE_LEVEL_ERROR ,AL_DBG_ERROR ,

                                                            ("update CA
attributes returned %#x.\n", status) );

+                /* Dereference the CA now. */

+                                      deref_al_obj( &p_ci_ca->obj );

                                                break;

                                    }

                                    if ( p_old_ca_attr )

 

Thanks,

Anatoly

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20061207/86be250a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ual_mgr_obj_deref.patch
Type: application/octet-stream
Size: 445 bytes
Desc: ual_mgr_obj_deref.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20061207/86be250a/attachment.obj>


More information about the ofw mailing list