aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/nldev.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2018-05-15 11:19:30 -0700
committerJason Gunthorpe <jgg@mellanox.com>2018-05-15 16:17:38 -0600
commite6125a254d7d2af806752c9b776d1ff4b565ce2e (patch)
tree5435089ec76333fca54d81017a74fa650c18fa90 /drivers/infiniband/core/nldev.c
parentiw_cxgb4: fix uninitialized variable warnings (diff)
downloadlinux-dev-e6125a254d7d2af806752c9b776d1ff4b565ce2e.tar.xz
linux-dev-e6125a254d7d2af806752c9b776d1ff4b565ce2e.zip
RDMA/NLDEV: remove mr iova attribute
Remove mr iova attribute because we don't want to pass up kernel pointers. Fixes: fccec5b89ac6 ("RDMA/nldev: provide detailed MR information") Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/nldev.c')
-rw-r--r--drivers/infiniband/core/nldev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/core/nldev.c b/drivers/infiniband/core/nldev.c
index 8674ca2d8f91..340c7bea45ab 100644
--- a/drivers/infiniband/core/nldev.c
+++ b/drivers/infiniband/core/nldev.c
@@ -535,9 +535,6 @@ static int fill_res_mr_entry(struct sk_buff *msg, struct netlink_callback *cb,
goto err;
if (nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_LKEY, mr->lkey))
goto err;
- if (nla_put_u64_64bit(msg, RDMA_NLDEV_ATTR_RES_IOVA,
- mr->iova, RDMA_NLDEV_ATTR_PAD))
- goto err;
}
if (nla_put_u64_64bit(msg, RDMA_NLDEV_ATTR_RES_MRLEN, mr->length,