summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2022-05-06 05:55:12 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-05-11 04:12:03 +0200
commit596fc8adb171dce3751a359018e2ade612af8d97 (patch)
tree29ea6c7afcfce2044ff1ce6e9f751dd7d97e08d5 /drivers/leds
parentscsi: lpfc: Inhibit aborts if external loopback plug is inserted (diff)
downloadlinux-596fc8adb171dce3751a359018e2ade612af8d97.tar.xz
linux-596fc8adb171dce3751a359018e2ade612af8d97.zip
scsi: lpfc: Fix dmabuf ptr assignment in lpfc_ct_reject_event()
Upon driver receipt of a CT cmd for type = 0xFA (Management Server) and subtype = 0x11 (Fabric Device Management Interface), the driver is responding with garbage CT cmd data when it should send a properly formed RJT. The __lpfc_prep_xmit_seq64_s4() routine was using the wrong buffer for the reject. Fix by converting the routine to use the buffer specified in the bde within the wqe rather than the ill-set bmp element. Link: https://lore.kernel.org/r/20220506035519.50908-6-jsmart2021@gmail.com Fixes: 61910d6a5243 ("scsi: lpfc: SLI path split: Refactor CT paths") 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 'drivers/leds')
0 files changed, 0 insertions, 0 deletions