diff options
| author | Wu Bo <[email protected]> | 2021-05-19 05:01:09 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-05-19 06:33:39 +0000 |
| commit | fec356a61aa3d3a66416b4321f1279e09e0f256f (patch) | |
| tree | 8a02dec924fd6f5cbbf6c8ba6e690f38a5b1e760 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | block/partitions/efi.c: Fix the efi_partition() kernel-doc header (diff) | |
| download | kernel-fec356a61aa3d3a66416b4321f1279e09e0f256f.tar.gz kernel-fec356a61aa3d3a66416b4321f1279e09e0f256f.zip | |
nvmet: fix memory leak in nvmet_alloc_ctrl()
When creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger
than cntlid_max of the subsystem, and jumps to the
"out_free_changed_ns_list" label, but the ctrl->sqs lack of be freed.
Fix this by jumping to the "out_free_sqs" label.
Fixes: 94a39d61f80f ("nvmet: make ctrl-id configurable")
Signed-off-by: Wu Bo <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
