summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2018-03-14 17:13:39 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2018-03-15 00:52:33 -0400
commit09dd15e0d9547ca424de4043bcd429bab6f285c8 (patch)
tree2d7a16fcae97480df815b53ac43853912f24d9a2 /drivers/scsi/sd.c
parentc3506df85091ab41cf7716244c460e15136100c4 (diff)
downloadlinux-09dd15e0d9547ca424de4043bcd429bab6f285c8.tar.gz
linux-09dd15e0d9547ca424de4043bcd429bab6f285c8.tar.bz2
linux-09dd15e0d9547ca424de4043bcd429bab6f285c8.zip
scsi: ibmvfc: Avoid unnecessary port relogin
Following an RSCN, ibmvfc will issue an ADISC to determine if the underlying target has changed, comparing the SCSI ID, WWPN, and WWNN to determine how to handle the rport in discovery. However, the comparison of the WWPN and WWNN was performing a memcmp between a big endian field against a CPU endian field, which resulted in the wrong answer on LE systems. This was observed as unexpected errors getting logged at boot time as targets were getting relogins when not needed. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions