[IBAL] bug fix: decrement ioc ref count when query return
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 2 Jan 2007 16:21:03 +0000 (16:21 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 2 Jan 2007 16:21:03 +0000 (16:21 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@570 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_ioc_pnp.c

index 0f438bd..6046923 100644 (file)
@@ -2151,7 +2151,7 @@ __svc_entry_resp(
 \r
        /* Update the number of entries received so far. */\r
        p_ioc->num_valid_entries += (hi - lo) + 1;\r
-\r
+       cl_atomic_dec(&p_ioc->ref_cnt);\r
        AL_EXIT( AL_DBG_PNP );\r
 }\r
 \r