aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorQuinn Tran <qutran@marvell.com>2019-11-05 07:06:52 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-11-08 21:15:41 -0500
commitaf2a0c51b1205327f55a7e82e530403ae1d42cbb (patch)
tree1831d41824312cfbdd8d8dcbb81cd00b303be83d /tools/perf/scripts/python/bin
parentscsi: qla2xxx: Do command completion on abort timeout (diff)
downloadlinux-af2a0c51b1205327f55a7e82e530403ae1d42cbb.tar.gz
linux-af2a0c51b1205327f55a7e82e530403ae1d42cbb.zip
scsi: qla2xxx: Fix SRB leak on switch command timeout
when GPSC/GPDB switch command fails, driver just returns without doing a proper cleanup. This patch fixes this memory leak by calling sp->free() in the error path. Link: https://lore.kernel.org/r/20191105150657.8092-4-hmadhani@marvell.com Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions