[openib-general] [PATCH][MINOR] OpenSM/osm_sa_informinfo.c: In osm_infr_rcv_process_set_method, release lock on request with unknown LID

Hal Rosenstock halr at voltaire.com
Tue Aug 22 07:50:47 PDT 2006


OpenSM/osm_sa_informinfo.c: In osm_infr_rcv_process_set_method, release
lock on request with unknown LID

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

Index: opensm/osm_sa_informinfo.c
===================================================================
--- opensm/osm_sa_informinfo.c	(revision 9057)
+++ opensm/osm_sa_informinfo.c	(working copy)
@@ -387,6 +387,8 @@ osm_infr_rcv_process_set_method(
     &inform_info_rec.inform_record.subscriber_gid );
   if ( res != IB_SUCCESS )
   {    
+    cl_plock_release( p_rcv->p_lock );
+
     osm_log( p_rcv->p_log, OSM_LOG_ERROR,
              "osm_infr_rcv_process_set_method: ERR 4308 "
              "Subscribe Request from unknown LID: 0x%04X\n",







More information about the general mailing list