Re: [PATCH v2] scsi: target: compare all six ISID bytes when identifying a nexus

From: Martin K. Petersen (Oracle)

Date: Fri Nov 20 2026 - 22:25:08 EST


On Mon, 09 Nov 2026 11:31:01 -0300, Ciro Iriarte wrote:

> lio_sess_get_initiator_sid() reports the ISID as twelve hex digits, and
> iSCSI TransportIDs carry the same digits. __transport_register_session(),
> __core_scsi3_do_alloc_registration() and
> core_scsi3_alloc_aptpl_registration() turn that text into
> sess_bin_isid and pr_reg_bin_isid with get_unaligned_be64(), which takes
> the first eight characters, i.e. the first four ISID bytes.
>
> [...]

Applied to 7.4/scsi-fixes, thanks!

[1/1] scsi: target: compare all six ISID bytes when identifying a nexus
https://git.kernel.org/mkp/scsi/c/fb8fd1da808f

--
Martin K. Petersen