WSL2-Linux-Kernel/drivers/nvme/target
Wu Bo 03504e3b54 nvme-loop: fix memory leak in nvme_loop_create_ctrl()
When creating loop ctrl in nvme_loop_create_ctrl(), if nvme_init_ctrl()
fails, the loop ctrl should be freed before jumping to the "out" label.

Fixes: 3a85a5de29 ("nvme-loop: add a NVMe loopback host driver")
Signed-off-by: Wu Bo <wubo40@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-05-19 08:33:42 +02:00
..
Kconfig
Makefile
admin-cmd.c nvmet: use helper to remove the duplicate code 2021-05-11 18:30:45 +02:00
configfs.c nvmet: fix a spelling mistake "nubmer" -> "number" 2021-04-15 08:12:53 +02:00
core.c nvmet: fix memory leak in nvmet_alloc_ctrl() 2021-05-19 08:33:39 +02:00
discovery.c nvmet: demote discovery cmd parse err msg to debug 2021-05-11 18:30:45 +02:00
fabrics-cmd.c nvmet: demote fabrics cmd parse err msg to debug 2021-05-11 18:30:46 +02:00
fc.c nvmet-fc: simplify nvmet_fc_alloc_hostport 2021-04-15 08:12:53 +02:00
fcloop.c
io-cmd-bdev.c nvmet: fix inline bio check for bdev-ns 2021-05-11 18:30:45 +02:00
io-cmd-file.c nvmet: seset ns->file when open fails 2021-05-12 19:48:48 +02:00
loop.c nvme-loop: fix memory leak in nvme_loop_create_ctrl() 2021-05-19 08:33:42 +02:00
nvmet.h nvmet: fix inline bio check for bdev-ns 2021-05-11 18:30:45 +02:00
passthru.c nvmet: fix inline bio check for passthru 2021-05-11 18:30:45 +02:00
rdma.c nvmet-rdma: Fix NULL deref when SEND is completed with error 2021-05-11 18:30:45 +02:00
tcp.c for-5.13/drivers-2021-04-27 2021-04-28 14:39:37 -07:00
trace.c
trace.h