Re: [ewg] [PATCH] IB/ehca: Protect QP against destroying until all async events for it are handled.

From: Roland Dreier
Date: Wed May 07 2008 - 11:32:38 EST


> We are not sure if this should be fixed in the driver or in uverbs itself.
> Roland, what's your opinion about this?

Would be nice to be able to fix it in uverbs but I don't see how. In
particular a kernel consumer has to have the same guarantee that no
async events will come in after destroy QP returns. And I don't see any
way generic code can provide a guarantee about what low-level driver
code may do internally.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/