[ofa-general] [PATCH] opensm/osm_sm.c: code consolidation

Sasha Khapyorsky sashak at voltaire.com
Fri Jul 24 03:41:16 PDT 2009


On 14:19 Wed 22 Jul     , Hal Rosenstock wrote:
> On Wed, Jul 22, 2009 at 6:59 AM, Sasha Khapyorsky<sashak at voltaire.com> wrote:
> >
> > Consolidate lock releasing code in multicast join and leave processors.
> 
> FWIW the way it was released the lock sooner in the error cases at the
> expense of the extra duplicated code to release the lock.

Some of those error cases represent an invalid usage case (and actually
the checks could be removed) and rest have a low probability.

Sasha



More information about the general mailing list