diff options
Diffstat (limited to 'transport/ib-verbs/src/ib-verbs.c')
-rw-r--r-- | transport/ib-verbs/src/ib-verbs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport/ib-verbs/src/ib-verbs.c b/transport/ib-verbs/src/ib-verbs.c index e0e25939b26..b43f942ec9e 100644 --- a/transport/ib-verbs/src/ib-verbs.c +++ b/transport/ib-verbs/src/ib-verbs.c @@ -698,6 +698,7 @@ __ib_verbs_lookup_peer (ib_verbs_device_t *device, int32_t qp_num) ib_verbs_qpreg_t *qpreg = NULL; int32_t hash = 0; + qpreg = &device->qpreg; hash = qp_num % 42; ent = qpreg->ents[hash].next; while ((ent != &qpreg->ents[hash]) && (ent->qp_num != qp_num)) |