From: Sean Hefty Date: Sat, 2 Feb 2013 06:26:50 +0000 (-0800) Subject: Refresh of kern-bug X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=55c478200c43b8048af9d8dc97210c10bb9a6cea;p=~shefty%2Flibrdmacm.git Refresh of kern-bug --- diff --git a/src/cma.c b/src/cma.c index eb59ea87..863bbc40 100755 --- a/src/cma.c +++ b/src/cma.c @@ -480,7 +480,7 @@ static int rdma_create_id2(struct rdma_event_channel *channel, VALGRIND_MAKE_MEM_DEFINED(&resp, sizeof resp); id_priv->handle = resp.id; - ucma_insert_id(id_priv, resp.id); + ucma_insert_id(id_priv); *id = &id_priv->id; return 0; @@ -1811,7 +1811,7 @@ static int ucma_process_conn_req(struct cma_event *evt, evt->event.listen_id = &evt->id_priv->id; evt->event.id = &id_priv->id; id_priv->handle = handle; - ucma_insert_id(id_priv, handle); + ucma_insert_id(id_priv); id_priv->initiator_depth = evt->event.param.conn.initiator_depth; id_priv->responder_resources = evt->event.param.conn.responder_resources;