On Fri, Jan 26, 2018 at 01:29:36PM -0800, Dennis Dalessandro wrote: > From: Alex Estrin <alex.estrin@xxxxxxxxx> > > The dd refcount is speculatively incremented prior to allocating > the fd memory with kzalloc(). If that kzalloc() failed the dd > refcount leaks. > Increment refcount on kzalloc success. > > Fixes: e11ffbd57520 ("IB/hfi1: Do not free hfi1 cdev parent structure early") > Reviewed-by: Michael J Ruhl <michael.j.ruhl@xxxxxxxxx> > Signed-off-by: Alex Estrin <alex.estrin@xxxxxxxxx> > Change-Id: I660296d5860205722b3db3d0c8b0746fd8f655ab *blark* Change-Id *blark* Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html