aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorQuinn Tran <[email protected]>2019-11-05 07:06:52 -0800
committerMartin K. Petersen <[email protected]>2019-11-08 21:15:41 -0500
commitaf2a0c51b1205327f55a7e82e530403ae1d42cbb (patch)
tree1831d41824312cfbdd8d8dcbb81cd00b303be83d /tools/perf/scripts/python/net_dropmonitor.py
parent71c80b75ce8f08c0978ce9a9816b81b5c3ce5e12 (diff)
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/[email protected] Reviewed-by: Ewan D. Milne <[email protected]> Signed-off-by: Quinn Tran <[email protected]> Signed-off-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions