diff options
| author | Quinn Tran <[email protected]> | 2019-11-05 07:06:52 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-11-08 21:15:41 -0500 |
| commit | af2a0c51b1205327f55a7e82e530403ae1d42cbb (patch) | |
| tree | 1831d41824312cfbdd8d8dcbb81cd00b303be83d /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 71c80b75ce8f08c0978ce9a9816b81b5c3ce5e12 (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