summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorQuinn Tran <quinn.tran@cavium.com>2018-09-26 22:05:13 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-09-27 20:15:05 -0400
commit732ee9a912cf2d9a50c5f9c4213cdc2f885d6aa6 (patch)
tree2cb225cf102601b6a1ecfd8eca1c4c721c69280e /tools/perf/scripts/python/event_analyzing_sample.py
parentdb186382af21e926e90df19499475f2552192b77 (diff)
downloadcachepc-linux-732ee9a912cf2d9a50c5f9c4213cdc2f885d6aa6.tar.gz
cachepc-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 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions