Re: [PATCH] IB: fix task hanging on error recovery

Or Gerlitz
2012-11-05T18:38:55Z

On Mon, Nov 5, 2012 at 7:21 PM, Hefty, Sean <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
>
> > > drivers/infiniband/core/ucm.c | 2 +-
> > > drivers/infiniband/core/ucma.c | 2 +-
> >
> > On these files, as far as I understand this code from quick looking, I'm
> > not sure on what
> > exactly the completion objects protects, Sean?
>
> These protect against the caller trying to destroy an object that is in
> use. For example, it handles the case where the user calls 'connect' on a
> given context, then calls 'destroy' on that same context from another
> thread.
>
> We shouldn't need to deal with any timeouts at this level.
>

OK, thanks, this was my thought as well