> > +struct ibv_xrcd *__ibv_open_xrcd(struct ibv_context *context, int fd, int
> oflags)
> > +{
> > +   struct verbs_context *context_ex = verbs_get_ctx(context);
> > +   struct ibv_xrcd *xrcd;
> 
> This patch series seems to be missing the checks against a null return
> of verbs_get_ctx - if the driver is not extended these functions
> should return ENOSYS, not crash..

Patch 2 extends ibv_context for providers that don't by adding a translation 
layer for older providers.  This seemed to keep things simpler, since the core 
verbs code could rely on extension support.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to