linux/drivers/infiniband
Parav Pandit 8814567892 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: bee3c3c918 ("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>
2018-06-22 09:02:59 -06:00
..
core RDMA/cma: Consider net namespace while leaving multicast group 2018-06-22 09:02:59 -06:00
hw Merge branch 'icrc-counter' into rdma.git for-next 2018-06-22 08:53:27 -06:00
sw IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
ulp IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00