summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2026-08-18 12:52:29 +0900
committerLeon Romanovsky <leon@kernel.org>2026-09-02 08:58:55 -0400
commit9cdfad5dd5529e1700f51feaed5e8a90044d7e35 (patch)
tree8b7ead01094d0f43127b37d9f083cb7f09a5b5d9 /scripts
parent1af874e9f4ce22ccf8b10ab5462f32c70d3be21a (diff)
downloadlinux-9cdfad5dd5529e1700f51feaed5e8a90044d7e35.tar.gz
linux-9cdfad5dd5529e1700f51feaed5e8a90044d7e35.zip
RDMA/srp: Fix srp_remove_target()
Remove all logical units before disconnecting the transport because one or more SCSI commands may be submitted while removing logical units. Remove the SCSI host after the transport has been disconnected because the code that disconnects the transport needs resources that are freed by the code that removes the SCSI host (SCSI host tag set). Remove the srp_rport_get() and srp_rport_put() calls because the purpose of these calls was to keep the rport until tl_err_work is cancelled. Reported-by: Yehyeong Lee <yhlee@isslab.korea.ac.kr> Closes: https://lore.kernel.org/linux-rdma/20260812190418.200337-1-yhlee@isslab.korea.ac.kr/ Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Yehyeong Lee <yhlee@isslab.korea.ac.kr> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions