[openib-general] Re: [RFC] [PATCH 1/2] multicast support for multiple users

Hal Rosenstock halr at voltaire.com
Thu Apr 6 13:49:59 PDT 2006


On Thu, 2006-04-06 at 14:13, Sean Hefty wrote:

Another question:

> +static int send_leave(struct mcast_group *group, u8 leave_state)
> +{
> +	struct mcast_port *port = group->port;
> +	struct ib_sa_mcmember_rec rec;
> +	int ret;
> +
> +	rec = group->rec;
> +	rec.join_state = leave_state;
> +
> +	ret = ib_sa_mcmember_rec_delete(port->dev->device, port->port_num, &rec,
> +					IB_SA_MCMEMBER_REC_MGID     |
> +					IB_SA_MCMEMBER_REC_PORT_GID |
> +					IB_SA_MCMEMBER_REC_JOIN_STATE,

Why did the PKey component get removed from the leave ?

-- Hal

> +					retry_timer, retries, GFP_KERNEL,
> +					leave_handler, group, &group->query);
> +	if (ret > 0) {
> +		group->query_id = ret;
> +		ret = 0;
> +	}
> +	return ret;
> +}





More information about the general mailing list