]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_vnic: use the mlid while calling ib_detach_mcast
authoraru kolappan <aru.kolappan@oracle.com>
Fri, 21 Dec 2018 01:28:45 +0000 (17:28 -0800)
committerBrian Maly <brian.maly@oracle.com>
Wed, 2 Jan 2019 18:00:42 +0000 (13:00 -0500)
commite995a3919b4bb619a70119539c19da08bf5e1996
treefc147b7297511826f1e6f9287d24fdbc868e5dcf
parent583f6af930da2eeae2a3a8b2d99b700cf4a6cb61
mlx4_vnic: use the mlid while calling ib_detach_mcast

In mlx4_vnic, vnic_mcast_detach_ll() calls ib_detach_mcast() with the port lid
instead of the mlid resulting in multicast detach to fail. This caused
the subsequent multicast attach to fail.

Orabug: 29029705

Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Acked-by: John Haxby <john.haxby@oracle.com>
Reviewed-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Signed-off-by: aru kolappan <aru.kolappan@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/mellanox/mlx4_vnic/vnic_mcast.c