[openib-general] [PATCH] OpenSM: In osm_sa_path_record.c::__search_mgrp_by_mgid, ignore groups marked for deletion

Hal Rosenstock halr at voltaire.com
Fri Dec 2 06:46:55 PST 2005


In osm_sa_path_record.c::__search_mgrp_by_mgid, ignore groups marked for
deletion

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: osm_sa_path_record.c
===================================================================
--- osm_sa_path_record.c        (revision 4280)
+++ osm_sa_path_record.c        (working copy)
@@ -1230,6 +1230,10 @@ __search_mgrp_by_mgid(
   p_recvd_mgid = p_ctxt->p_mgid;
   p_rcv = p_ctxt->p_rcv;
 
+  /* ignore groups marked for deletion */
+  if (p_mgrp->to_be_deleted)
+    return;
+
   /* Why not compare the entire MGID ???? */
   /* different scope can sneak in for the same MGID ? */
   /* EZ: I changed it to full compare ! */





More information about the general mailing list