Patch needs to do a handle put after executing the dispatch routine. Regards -steve
On Wed, 2009-06-10 at 11:57 -0500, Ryan O'Hara wrote: > If we request a lock via saLckLockRequestAsync, which is granted, an > saLckLockGrantCallback will be generated. The callback request is sent > to the dispatcher, but it is possible to unlock this lock before the > callback is invoked. The specification clearly states that this should > result in saLckLockGrantCallback returning SA_AIS_ERR_NOT_EXIST. > > The best way to handle this is to add a check to saLckDispatch that > verifies that the lock_id is valid before invoking > saLckLockGrantCallback. This add this check. > > Thanks again to Honzaf for finding this bug. > > Ryan > > _______________________________________________ > Openais mailing list > [email protected] > https://lists.linux-foundation.org/mailman/listinfo/openais _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
