From 1058fcd62957c0ba92ef1965ae6dc8b2aa8f1ec4 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Fri, 1 Apr 2011 15:58:19 -0700 Subject: [PATCH] ibacm: Join only the base multicast group if using SA path resolution If the ACM service is configured to use the SA to resolve path record data, then only join the base multicast group. We only need to join other groups if we're creating path records based on multicast data, using the acm route protocol. Signed-off-by: Sean Hefty --- src/acm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.46.0