Re: [PATCH] scsi: check that the tag map is still there in scsi_host_find_tag()
Yehyeong Lee <[email protected]>
| Newsgroups | gmane.linux.scsi,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On 8/15/26 2:27 AM, Bart Van Assche wrote: > Thanks for the detailed report but I think this is the wrong way to fix > the reported crash. Please help with testing this patch: Tested. With the replay target that reposts an SRP_RSP for a command it has already answered, the crash appears in 5 of 5 runs on an unpatched kernel and in 0 of 5 with your patch. The target still delivered about 2680 unsolicited responses per run either way, so what went away is the window, not the traffic. I have sent your patch as 2/2 of a v2 series on linux-rdma: https://lore.kernel.org/linux-rdma/[email protected]/ Martin, please drop this patch. The lookup it guards is not reachable once srp_remove_target() is fixed, and the review point that the check is lockless stands. Tested-by: Yehyeong Lee <[email protected]> Best regards, Yehyeong Lee