[openib-general] [PATCH] osm: bug in __osmv_send_sa_req

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Sun Sep 17 07:20:32 PDT 2006


Hi Hal 

This patch fixes a bug is __osmv_send_sa_req in libvendor.
After sending a MAD, the status of the responce was ignored.

Yevgeny 

Signed-off-by:  Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il> 

Index: libvendor/osm_vendor_ibumad_sa.c
===================================================================
--- libvendor/osm_vendor_ibumad_sa.c    (revision 9500)
+++ libvendor/osm_vendor_ibumad_sa.c    (working copy)
@@ -606,6 +606,7 @@ __osmv_send_sa_req(
              "Waiting for async event\n" );
     cl_event_wait_on( &p_bind->sync_event, EVENT_NO_TIMEOUT, FALSE );
     cl_event_reset(&p_bind->sync_event);
+    status = p_madw->status;
   }

  Exit:






More information about the general mailing list