[openib-general] [PATCH] OpenSM/osm_sm.c: In osm_sm_mcgrp_join, return error during join/leave race

Hal Rosenstock halr at voltaire.com
Thu Nov 30 06:35:01 PST 2006


OpenSM/osm_sm.c: In osm_sm_mcgrp_join, return error during join/leave
race

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

diff --git a/osm/opensm/osm_sm.c b/osm/opensm/osm_sm.c
index fb4f759..9aa4a36 100644
--- a/osm/opensm/osm_sm.c
+++ b/osm/opensm/osm_sm.c
@@ -711,6 +711,7 @@ osm_sm_mcgrp_join(
                   "osm_sm_mcgrp_join: ERR 2E12: "
                   "Port 0x%016" PRIx64 " not in mcast group 0x%X\n",
                   cl_ntoh64( port_guid ), cl_ntoh16( mlid ) );
+         status = IB_NOT_FOUND;
          goto Exit;
       }
    }







More information about the general mailing list