[ofa-general] Re: [PATCH] opensm/osm_sa_mcmember_record: return a real port JoinState on update
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Thu Nov 13 01:02:54 PST 2008
Hi Sasha,
Sasha Khapyorsky wrote:
> When port JoinState is updated by MCMember leave request response should
> have a real (new) JoinState. This fix addresses bug#1373.
>
> Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
> ---
> opensm/opensm/osm_sa_mcmember_record.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/opensm/opensm/osm_sa_mcmember_record.c b/opensm/opensm/osm_sa_mcmember_record.c
> index 878d21e..4ca5896 100644
> --- a/opensm/opensm/osm_sa_mcmember_record.c
> +++ b/opensm/opensm/osm_sa_mcmember_record.c
> @@ -1095,12 +1095,10 @@ __osm_mcmr_rcv_leave_mgrp(IN osm_sa_t * sa,
> goto Exit;
> }
>
> - mcmember_rec.scope_state = p_mcm_port->scope_state;
> /* remove port or update join state */
> removed = osm_mgrp_remove_port(sa->p_subn, sa->p_log, p_mgrp, p_mcm_port,
> p_recvd_mcmember_rec->scope_state&0x0F);
> - if (removed)
> - mcmember_rec.scope_state = p_mcm_port->scope_state;
> + mcmember_rec.scope_state = p_mcm_port->scope_state;
I did the exact same fix last night :)
-- Yevgeny
> CL_PLOCK_RELEASE(sa->p_lock);
>
More information about the general
mailing list