summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/cm.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2018-05-10 16:31:28 +0200
committerDoug Ledford <dledford@redhat.com>2018-05-22 20:32:30 +0200
commitb06f2efd3bbe522ee0e118c3f29497c857d97f8b (patch)
tree3a55546603316cb27c0e0283c715f70178984c9a /drivers/infiniband/hw/cxgb4/cm.c
parentRDMA/ipoib: Update paths on CLIENT_REREG/SM_CHANGE events (diff)
downloadlinux-b06f2efd3bbe522ee0e118c3f29497c857d97f8b.tar.xz
linux-b06f2efd3bbe522ee0e118c3f29497c857d97f8b.zip
iw_cxgb4: always set iw_cm_id.provider_data
In active side connections, the provider_data field is not getting set. This will be used in a subsequent patch to dump state, so always set it. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/cm.c')
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 4cf17c650c36..0912fa026327 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -3210,6 +3210,7 @@ int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)
ep->com.cm_id = cm_id;
ref_cm_id(&ep->com);
+ cm_id->provider_data = ep;
ep->com.dev = dev;
ep->com.qp = get_qhp(dev, conn_param->qpn);
if (!ep->com.qp) {