[Openais] [PATCH]: openais/trunk: Skip callbacks if resource handle does not exist

Steven Dake sdake at redhat.com
Mon Jun 29 12:08:21 PDT 2009


looks good for merge

regards
-steve
On Mon, 2009-06-29 at 11:20 -0500, Ryan O'Hara wrote:
> Here is a patch that effectively cancels any pending callbacks if the
> resource handle no longer exists.
> 
> In saLckDispatch, we check that the resource handle associated with
> the callback exists in the handle database. If not, we skip it. This
> requires that we pass the resource handle in the callback request,
> which is not much of an issue. It also requires that we pass the have
> the resource handle available in any call that generates a callback.
> 
> Ryan
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list