[IBAL] bug fix: add ca_guid to IOC/IOU_REMOVE events
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 4 Dec 2006 14:54:10 +0000 (14:54 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 4 Dec 2006 14:54:10 +0000 (14:54 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@554 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_ioc_pnp.c

index 343a0fd..0f438bd 100644 (file)
@@ -1701,6 +1701,7 @@ __process_query(
                /* Decrement the IOC PnP manager's query count. */\r
                if( !cl_atomic_dec( &gp_ioc_pnp->query_cnt ) )\r
                        cl_async_proc_queue( gp_async_pnp_mgr, &gp_ioc_pnp->async_item );\r
+               AL_EXIT( AL_DBG_PNP );\r
                return;\r
        }\r
 \r
@@ -3060,6 +3061,7 @@ __report_iou_remove(
        cl_memclr( &rec, sizeof(ib_pnp_iou_rec_t) );\r
        rec.pnp_rec.pnp_event = IB_PNP_IOU_REMOVE;\r
        rec.pnp_rec.guid = p_iou->guid;\r
+       rec.pnp_rec.ca_guid = p_iou->ca_guid;\r
 \r
        event.rec_size = sizeof(ib_pnp_iou_rec_t);\r
        event.p_rec = (ib_pnp_rec_t*)&rec;\r
@@ -3154,6 +3156,7 @@ __report_ioc_remove(
        cl_memclr( &rec, sizeof(ib_pnp_ioc_rec_t) );\r
        rec.pnp_rec.pnp_event = IB_PNP_IOC_REMOVE;\r
        rec.pnp_rec.guid = p_ioc->profile.ioc_guid;\r
+       rec.pnp_rec.ca_guid = p_ioc->p_iou->ca_guid;\r
        \r
        event.rec_size = sizeof(ib_pnp_ioc_rec_t);\r
        event.p_rec = (ib_pnp_rec_t*)&rec;\r
@@ -3310,3 +3313,6 @@ ioc_pnp_process_dereg(
 \r
 \r
 \r
+\r
+\r
+\r