Re: [PATCH] nvme-rdma: fix null pointer dereference on req->mr

2016-09-06 Thread Sagi Grimberg
Thanks Colin, queued for the next round of rc fixes.

Re: [PATCH] nvme-rdma: fix null pointer dereference on req->mr

2016-09-05 Thread Christoph Hellwig
On Mon, Sep 05, 2016 at 04:24:38PM +0100, Colin King wrote: > From: Colin Ian King > > If there is an error on req->mr, req->mr is set to null, however > the following statement sets req->mr->need_inval causing a null > pointer dereference. Fix this by bailing out to label 'out' to > immediately

[PATCH] nvme-rdma: fix null pointer dereference on req->mr

2016-09-05 Thread Colin King
From: Colin Ian King If there is an error on req->mr, req->mr is set to null, however the following statement sets req->mr->need_inval causing a null pointer dereference. Fix this by bailing out to label 'out' to immediately return and hence skip over the offending null pointer dereference. Fix