Hi Hal,
Bug Fix:
On receive of client reregister - clear the reregister bit - so
reregistering won't be sent again and again

Please apply to trunk and branch.

Thanks

Ofer G.

Signed-off-by:  Ofer Gigi <[EMAIL PROTECTED]>

Index: osm_port_info_rcv.c
===================================================================
--- osm_port_info_rcv.c (revision 6640)
+++ osm_port_info_rcv.c (working copy)
@@ -666,6 +666,17 @@ osm_pi_rcv_process(
   p_smp = osm_madw_get_smp_ptr( p_madw );
   p_context = osm_madw_get_pi_context_ptr( p_madw );
   p_pi = (ib_port_info_t*)ib_smp_get_payload_ptr( p_smp );
+
+  /* On receive of client reregister - clear the reregister bit - so
+     reregistering won't be sent again and again*/
+  if (ib_port_info_get_client_rereg(p_pi))
+  {
+       osm_log( p_rcv->p_log, OSM_LOG_DEBUG,
+             "osm_pi_rcv_process: "
+             "client reregister received on response\n");
+       ib_port_info_set_client_rereg(p_pi,0);
+  }
+
   port_num = (uint8_t)cl_ntoh32( p_smp->attr_mod );
 
   port_guid = p_context->port_guid;


_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to