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

Hefty, Sean
2012-11-05T18:21:08Z

> > 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.

- Sean