diff options
author | Parav Pandit <parav@mellanox.com> | 2018-06-21 15:31:24 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-22 09:02:59 -0600 |
commit | 88145678924891bdb959010de20b1bb4f27542d5 (patch) | |
tree | f8fd9bc17f2466f8fb7a305254592a9eee6cbe06 /drivers/infiniband/core/cache.c | |
parent | 321d7863acf7b1cf921ac18cd5ad5483b3cbb7ec (diff) | |
download | linux-88145678924891bdb959010de20b1bb4f27542d5.tar.bz2 |
RDMA/cma: Consider net namespace while leaving multicast group
When sending multicast leave request, consider the net ns in which this
cm_id is created.
Code was duplicated in cma_leave_mc_groups() and rdma_leave_multicast(),
which is now done using a helper function cma_leave_roce_mc_group().
Fixes: bee3c3c91865 ("IB/cma: Join and leave multicast groups with IGMP")
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/cache.c')
0 files changed, 0 insertions, 0 deletions