Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH] scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event | Date | Tue, 26 May 2020 22:13:03 -0400 |
| |
On Mon, 25 May 2020 22:16:24 +0800, Xiyu Yang wrote:
> In order to create or activate a new node, lpfc_els_unsol_buffer() > invokes lpfc_nlp_init() or lpfc_enable_node() or lpfc_nlp_get(), all of > them will return a reference of the specified lpfc_nodelist object to > "ndlp" with increased refcnt. > > When lpfc_els_unsol_buffer() returns, local variable "ndlp" becomes > invalid, so the refcount should be decreased to keep refcount balanced. > > [...]
Applied to 5.8/scsi-queue, thanks!
[1/1] scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event https://git.kernel.org/mkp/scsi/c/7217e6e694da
-- Martin K. Petersen Oracle Linux Engineering
| |