Re: [PATCH] IB/ucma: check workqueue allocation before usage

From: Jason Gunthorpe
Date: Thu Sep 17 2015 - 19:00:38 EST


On Thu, Sep 17, 2015 at 04:04:19PM -0400, Sasha Levin wrote:
> Allocating a workqueue might fail, which wasn't checked so far and would
> lead to NULL ptr derefs when an attempt to use it was made.

Indeed.

Yishai, please check this and check the other patches you've sent to
see if they have a similar error.

Jason
--
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/