[<prev] [next>] [day] [month] [year] [list]
Message-ID: <08a5af5b-96f8-837c-ff4b-814901ad9ed5@web.de>
Date: Wed, 15 Apr 2020 13:00:21 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Xiyu Yang <xiyuyang19@...an.edu.cn>,
Xin Tan <tanxin.ctf@...il.com>, linux-rdma@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Bernard Metzler <bmt@...ich.ibm.com>,
Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...pe.ca>, Kangjie Lu <kjlu@....edu>,
Yuan Zhang <yuanxzhang@...an.edu.cn>
Subject: Re: [PATCH] RDMA/siw: Fix potential siw_mem refcnt leak in
nr_add_node
> The issue happens in one error path of siw_fastreg_mr(). When "base_mr"
> equals to NULL but "mem" is not NULL, the function forgets to decrease
> the refcnt increased by siw_mem_id2obj() and causes a refcnt leak.
How do you think about to mention the terms “exception handling”
and “reference counting” in the commit message?
Would you like to add the tag “Fixes” to the change description?
Regards,
Markus
Powered by blists - more mailing lists