Re: [PATCH] RDMA/core: Fix an error handling path in 'res_get_common_doit()'

2019-10-04 Thread Jason Gunthorpe
On Sun, Aug 18, 2019 at 11:10:44AM +0200, Christophe JAILLET wrote: > According to surrounding error paths, it is likely that 'goto err_get;' is > expected here. Otherwise, a call to 'rdma_restrack_put(res);' would be > missing. > > Fixes: c5dfe0ea6ffa ("RDMA/nldev: Add resource tracker doit

[PATCH] RDMA/core: Fix an error handling path in 'res_get_common_doit()'

2019-09-23 Thread Christophe JAILLET
According to surrounding error paths, it is likely that 'goto err_get;' is expected here. Otherwise, a call to 'rdma_restrack_put(res);' would be missing. Fixes: c5dfe0ea6ffa ("RDMA/nldev: Add resource tracker doit callback") Signed-off-by: Christophe JAILLET --- drivers/infiniband/core/nldev.c