diff options
| author | Bill Kuzeja <[email protected]> | 2019-08-14 14:24:41 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-15 01:50:51 +0000 |
| commit | 26fa656e9a0cbccddf7db132ea020d2169dbe46e (patch) | |
| tree | 99e68a8bc5a1e8f04536039b94b7b2799073c986 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | scsi: lpfc: Fix crash when cpu count is 1 and null irq affinity mask (diff) | |
| download | kernel-26fa656e9a0cbccddf7db132ea020d2169dbe46e.tar.gz kernel-26fa656e9a0cbccddf7db132ea020d2169dbe46e.zip | |
scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
If HBA initialization fails unexpectedly (exiting via probe_failed:), we
may fail to free vha->gnl.l. So that we don't attempt to double free, set
this pointer to NULL after a free and check for NULL at probe_failed: so we
know whether or not to call dma_free_coherent.
Signed-off-by: Bill Kuzeja <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
