Skip to contentSkip to conversation

opensm/osm_sw_info_rcv.c: Fixed locking issue on osm_get_node_by_guid error

PATCH In review Hal Rosenstock 2 participants 2 messages Aug 28, 2012 – Sep 5, 2012 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_sw_info_rcv.c: Fixed locking issue on osm_get_node_by_guid error

---

opensm/osm_sw_info_rcv.c +1 -1
index 84e7fe0..122af89 100644
@@ -378,7 +378,7 @@ void osm_si_rcv_process(IN void *context, IN void *data)
 		/* we might get back a request for signaling change was detected */
 		sm->p_subn->force_heavy_sweep = TRUE;
 
-	CL_PLOCK_RELEASE(sm->p_lock);
 Exit:
+	CL_PLOCK_RELEASE(sm->p_lock);
 	OSM_LOG_EXIT(sm->p_log);
 }

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html