Thread (1 message) 1 message, 1 author, 2012-09-24

Re: [PATCH 3/8] libibverbs: Introduce XRC domains

From: Jason Gunthorpe <hidden>
Date: 2012-09-24 20:36:18

On Thu, Sep 20, 2012 at 09:43:06PM +0000, Hefty, Sean wrote:
+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..

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help