diff mbox series

[GIT,PULL] SCSI fixes for 6.7-rc4

Message ID 04e6cd5c53b77f7cf01df448525709f1eb7b7712.camel@HansenPartnership.com (mailing list archive)
State Not Applicable
Headers show
Series [GIT,PULL] SCSI fixes for 6.7-rc4 | expand

Commit Message

James Bottomley Dec. 8, 2023, 6:44 p.m. UTC
One tiny fix to the be2iscsi driver fixing a memory leak in an error
leg.

The patch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

The short changelog is:

Dinghao Liu (1):
      scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()

And the diffstat:

 drivers/scsi/be2iscsi/be_main.c | 1 +
 1 file changed, 1 insertion(+)

With full diff below.

James

---

Comments

pr-tracker-bot@kernel.org Dec. 8, 2023, 8:45 p.m. UTC | #1
The pull request you sent on Fri, 08 Dec 2023 13:44:22 -0500:

> git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f2e8a57ee9036c7d5443382b6c3c09b51a92ec7e

Thank you!
diff mbox series

Patch

diff --git a/drivers/scsi/be2iscsi/be_main.c
b/drivers/scsi/be2iscsi/be_main.c
index e48f14ad6dfd..06acb5ff609e 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -2710,6 +2710,7 @@  static int beiscsi_init_wrb_handle(struct
beiscsi_hba *phba)
 		kfree(pwrb_context->pwrb_handle_base);
 		kfree(pwrb_context->pwrb_handle_basestd);
 	}
+	kfree(phwi_ctxt->be_wrbq);
 	return -ENOMEM;
 }