On Fri, Feb 21, 2020 at 03:20:26PM +0000, Jason Gunthorpe wrote: > The algorithm pre-allocates a cm_id since allocation cannot be done while > holding the cm.lock spinlock, however it doesn't free it on one error > path, leading to a memory leak. > > Fixes: 067b171b8679 ("IB/cm: Share listening CM IDs") > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > --- > drivers/infiniband/core/cm.c | 1 + > 1 file changed, 1 insertion(+) Applied to for-rc Jason