From e849adcb5de8b11ac35f0c6ff6d5bd9e06c1d620 Mon Sep 17 00:00:00 2001 From: shefty Date: Wed, 23 Sep 2009 21:38:40 +0000 Subject: [PATCH] librdmacm: add back in missing cma_dev_cnt Initialization lost when moving patches from branch to trunk. Signed-off-by: Sean Hefty git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2460 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- ulp/librdmacm/src/cma.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ulp/librdmacm/src/cma.cpp b/ulp/librdmacm/src/cma.cpp index 022d2910..2727d887 100644 --- a/ulp/librdmacm/src/cma.cpp +++ b/ulp/librdmacm/src/cma.cpp @@ -142,7 +142,7 @@ static int ucma_acquire(void) cma_dev->max_responder_resources = (uint8_t) attr.max_qp_rd_atom; } ibv_free_device_list(dev_list); - + cma_dev_cnt = dev_cnt; out: LeaveCriticalSection(&lock); return 0; -- 2.17.1