> ch = rdma_create_event_channel(); > if (ch == NULL) > printf("rdma_create_event_channel failed\n"); > > ret = rdma_create_id(ch, &id, NULL, RDMA_PS_TCP); > if (ret != 0) > printf("rdma_create_id failed\n"); > > ret = rdma_bind_addr(id, (struct sockaddr *) &ipoib_addr); > > if (ret != 0) > printf("rdma_bind_addr failed\n"); > > rdma_destroy_event_channel(ch); This call should fail, since there's still a valid id open on it. > rdma_destroy_id(id); > } - Sean