diff options
author | James Smart <jsmart2021@gmail.com> | 2018-08-01 02:23:23 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-08-02 21:45:19 +0200 |
commit | 24bc3119424ac163c2f67e072c956f50e153d034 (patch) | |
tree | baf8b7c6cd0be29871eae4176f166e855b2b7615 /drivers/char | |
parent | scsi: lpfc: Limit tracking of tgt queue depth in fast path (diff) | |
download | linux-24bc3119424ac163c2f67e072c956f50e153d034.tar.xz linux-24bc3119424ac163c2f67e072c956f50e153d034.zip |
scsi: lpfc: Correct LCB ACCept payload
After memory allocation for the LCB response frame, the memory wasn't zero
initialized, and not all fields are set. Thus garbage shows up in the
payload.
Fix by zeroing the memory at allocation. Also properly set the Capability
field based on duration support.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions