diff options
| author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2026-08-26 02:33:58 +0530 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-09 22:08:15 -0400 |
| commit | f0ec04bdf6156ed2ae7d86a8819dafdd9383b705 (patch) | |
| tree | 27e2f764249b847d15127c73d2e36f1ca3886cd3 /tools/perf/scripts/python | |
| parent | 37e7d274272bc5e545e2d5f9261afa7f33f1cf49 (diff) | |
| download | linux-next-f0ec04bdf6156ed2ae7d86a8819dafdd9383b705.tar.gz linux-next-f0ec04bdf6156ed2ae7d86a8819dafdd9383b705.zip | |
scsi: mpi3mr: Fix target device reference leak in BSG task management
The target device lookup takes a reference, but it is only dropped inside a
branch that also requires the SCSI target data to be set up. When it is
not, the reference is leaked.
Drop the reference whenever the lookup succeeded.
Fixes: 506bc1a0d6ba ("scsi: mpi3mr: Add support for MPT commands")
Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://patch.msgid.link/20260825210411.301535-5-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
