Skip to content

nvmet: Fix memory leak when create ctrl fails

Wu Bo linux-nvme lkml 1 version Applied

Status from this message: applied to nvme-5.13 with slight tweaks to the commit messages and

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2nvmet: Fix memory leak in nvmet_alloc_ctrl()drivers/nvme/target/core.c+1 -11 reply
2/2nvme-loop: Fix memory leak in nvme_loop_create_ctrl()drivers/nvme/target/loop.c+3 -11 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSagi GrimbergChaitanya Kulkarni
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] nvmet: Fix memory leak when create ctrl fails

Hi,

This series of patches to fix the issuse of memory leak when creating ctrl fails.

Wu Bo (2):
nvmet: Fix memory leak in nvmet_alloc_ctrl()
nvme-loop: Fix memory leak in nvme_loop_create_ctrl()

 drivers/nvme/target/core.c | 2 +-
 drivers/nvme/target/loop.c | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.3.1