aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/device.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2017-11-14 14:52:11 +0200
committerJason Gunthorpe <jgg@mellanox.com>2017-12-18 15:37:10 -0700
commit5092d17a39a454d8b045a8cdce514bf4b07d22dc (patch)
treed40d23ff1d87ed05d817b24bf1cd251c8fe12db0 /drivers/infiniband/core/device.c
parentRDMA/{core, cma}: Simplify rdma_translate_ip (diff)
downloadlinux-dev-5092d17a39a454d8b045a8cdce514bf4b07d22dc.tar.xz
linux-dev-5092d17a39a454d8b045a8cdce514bf4b07d22dc.zip
RDMA/core: Avoid copying ifindex twice
rdma_copy_addr copies the ifndex to bound_dev_if. Therefore avoid copying it again after rdma_copy_addr call is completed. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/device.c')
0 files changed, 0 insertions, 0 deletions