]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
Refresh of kern-bug
authorSean Hefty <sean.hefty@intel.com>
Sat, 2 Feb 2013 06:26:50 +0000 (22:26 -0800)
committerSean Hefty <sean.hefty@intel.com>
Sat, 2 Feb 2013 06:26:50 +0000 (22:26 -0800)
src/cma.c

index eb59ea8787841c5139e4cbb4f0e20fd49c46e57b..863bbc40795d9a8b17725a5f528ce83aa0505c6c 100755 (executable)
--- 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;