]> git.openfabrics.org - ~shefty/libibverbs.git/commitdiff
Refresh of xrcd
authorSean Hefty <sean.hefty@intel.com>
Wed, 12 Sep 2012 18:05:42 +0000 (11:05 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 12 Sep 2012 18:05:42 +0000 (11:05 -0700)
src/verbs.c

index a693ecbe5acb8f178ad59bdd96a6b4ac87999ce6..81d7fa3542ad41a8756a56ea64a246406fe86eee 100644 (file)
@@ -427,7 +427,7 @@ struct ibv_qp *__ibv_create_qp(struct ibv_pd *pd,
        struct ibv_qp *qp = pd->context->ops.create_qp(pd, qp_init_attr);
 
        if (qp) {
-               qp->context          = context;
+               qp->context          = pd->context;
                qp->qp_context       = qp_init_attr->qp_context;
                qp->pd               = pd;
                qp->send_cq          = qp_init_attr->send_cq;