diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2018-09-27 07:05:13 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-09-28 02:15:05 +0200 |
commit | 732ee9a912cf2d9a50c5f9c4213cdc2f885d6aa6 (patch) | |
tree | 2cb225cf102601b6a1ecfd8eca1c4c721c69280e /README | |
parent | scsi: qla2xxx: Fix NVMe Target discovery (diff) | |
download | linux-732ee9a912cf2d9a50c5f9c4213cdc2f885d6aa6.tar.xz linux-732ee9a912cf2d9a50c5f9c4213cdc2f885d6aa6.zip |
scsi: qla2xxx: Fix duplicate switch database entries
The response data buffer used in switch scan is reused 4 times. (For example,
for commands GPN_FT, GNN_FT for FCP and FC-NVME) Before driver reuses this
buffer, clear it to prevent duplicate entries in our database.
Fixes: a4239945b8ad1 ("scsi: qla2xxx: Add switch command to simplify fabric discovery"
Cc: <stable@vger.kernel.org>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions