From: Sean Hefty Date: Fri, 17 Aug 2012 23:41:04 +0000 (-0700) Subject: librdmacm: Re-enable ibacm support X-Git-Tag: v1.0.17~36 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8a0c0b32f75f1b439b5665e6047713ff6ef37ef9;p=~shefty%2Flibrdmacm.git librdmacm: Re-enable ibacm support Commit 272c3cc024d0e5854cbafa6c2f1e8560398a68d7, "Delay ACM connection until resolving an address", removed the call to ucma_ib_init without adding it back in the correct location. As a result, the librdmacm no longer uses ibacm. Fix this by adding the initialization call when resolving an address. Signed-off-by: Sean Hefty --- diff --git a/src/acm.c b/src/acm.c index 5bdeb88d..458e23de 100755 --- a/src/acm.c +++ b/src/acm.c @@ -326,6 +326,7 @@ void ucma_ib_resolve(struct rdma_addrinfo **rai, struct rdma_addrinfo *hints) struct acm_ep_addr_data *data; int ret; + ucma_ib_init(); if (sock < 0) return;