Hi Sean,

Here's a patch for a typo.

I also think there's a bug with ucma_create_cqs()/ucma_destroy_cqs() because 
ucma_destroy_cqs unconditionally destroys the CQs, even if they were given by 
the application. librdmacm should only destroy the CQs it created.

Regards,
  Frank.
diff --git a/examples/rdma_server.c b/examples/rdma_server.c
index 2831d0c..5b9e16d 100644
--- a/examples/rdma_server.c
+++ b/examples/rdma_server.c
@@ -97,7 +97,7 @@ static int run(void)
 
 	ret = rdma_accept(id, NULL);
 	if (ret) {
-		printf("rdma_connect %d\n", errno);
+		printf("rdma_accept %d\n", errno);
 		return ret;
 	}
 

Reply via email to