Home
last modified time | relevance | path

Searched hist:feb3cc57fb63a2b3d3254e8c8ca3fe776c767d38 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.cdiff feb3cc57fb63a2b3d3254e8c8ca3fe776c767d38 Mon Aug 03 23:02:27 CEST 2020 Dick Kennedy <dick.kennedy@broadcom.com> scsi: lpfc: Fix validation of bsg reply lengths

There are a couple of code areas which validate sufficient reply buffer
length, but the checks are using the request elements rather than the reply
elements.

Rework to validate using the reply structures.

Link: https://lore.kernel.org/r/20200803210229.23063-7-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>