aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2022-09-11 15:14:53 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2022-09-15 22:18:26 -0400
commit16ece56986638b8de22f47d009e9b0feec53c031 (patch)
tree4c97ee8bce02607c1e6bc993d11bdb0bacb32121 /tools/perf/scripts/python/export-to-postgresql.py
parentscsi: mpi3mr: Fix error code in mpi3mr_transport_smp_handler() (diff)
downloadlinux-dev-16ece56986638b8de22f47d009e9b0feec53c031.tar.xz
linux-dev-16ece56986638b8de22f47d009e9b0feec53c031.zip
scsi: lpfc: Fix prli_fc4_req checks in PRLI handling
The if statment check (prli_fc4_req & PRLI_NVME_TYPE) evaluates to true when receiving a PRLI request for bogus FC4 type codes that happen to have the 3rd or 5th bit set because PRLI_NVME_TYPE is 0x28. This leads to sending a PRLI_NVME_ACC even for bogus FC4 type codes. Change the bitwise & check to an exact == type code check to ensure we send PRLI_NVME_ACC only for NVME type coded PRLI requests. Link: https://lore.kernel.org/r/20220911221505.117655-2-jsmart2021@gmail.com Co-developed-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions