diff options
| author | Dinghao Liu <[email protected]> | 2023-11-23 08:19:41 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-12-06 01:38:26 +0000 |
| commit | 235f2b548d7f4ac5931d834f05d3f7f5166a2e72 (patch) | |
| tree | 436ff927016cc2429badc060a4779dab5e311c34 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | scsi: sd: Fix system start for ATA devices (diff) | |
| download | kernel-235f2b548d7f4ac5931d834f05d3f7f5166a2e72.tar.gz kernel-235f2b548d7f4ac5931d834f05d3f7f5166a2e72.zip | |
scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
When an error occurs in the for loop of beiscsi_init_wrb_handle(), we
should free phwi_ctxt->be_wrbq before returning an error code to prevent
potential memleak.
Fixes: a7909b396ba7 ("[SCSI] be2iscsi: Fix dynamic CID allocation Mechanism in driver")
Signed-off-by: Dinghao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
