diff mbox

[2/3] ibacm: Join only the base multicast group if using SA path resolution

Message ID CF9C39F99A89134C9CF9C4CCB68B8DDF25DC95015D@orsmsx501.amr.corp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hefty, Sean April 1, 2011, 11:56 p.m. UTC
None
diff mbox

Patch

diff --git a/src/acm.c b/src/acm.c
index 3df996b..fe42498 100644
--- a/src/acm.c
+++ b/src/acm.c
@@ -1556,7 +1556,8 @@  static void acm_port_join(struct acm_port *port)
 		if ((ep->state = ep->mc_dest[0].state) != ACM_READY)
 			continue;
 
-		if (port->rate != min_rate || port->mtu != min_mtu)
+		if ((route_prot == ACM_ROUTE_PROT_ACM) &&
+		    (port->rate != min_rate || port->mtu != min_mtu))
 			acm_join_group(ep, &port_gid, 0, 0, 0, port->rate, port->mtu);
 	}
 	acm_log(1, "joins for device %s port %d complete\n", dev->verbs->device->name,