diff options
| author | 2026-08-26 02:33:58 +0530 | |
|---|---|---|
| committer | 2026-09-09 22:08:15 -0400 | |
| commit | f0ec04bdf6156ed2ae7d86a8819dafdd9383b705 (patch) | |
| tree | 27e2f764249b847d15127c73d2e36f1ca3886cd3 /scripts/Makefile.thinlto | |
| parent | scsi: mpi3mr: Fix I/O block counter leak on admin request post failure (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
