diff options
author | Arun Easi <aeasi@marvell.com> | 2019-11-05 07:06:55 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-11-08 21:15:42 -0500 |
commit | 2f856d4e8c23f5ad5221f8da4a2f22d090627f19 (patch) | |
tree | 92ad302eb83b1fae059e815df1c49965d93aa4c4 /drivers/macintosh/windfarm_pm112.c | |
parent | f45bca8c5052e8c59bab64ee90c44441678b9a52 (diff) | |
download | lwn-2f856d4e8c23f5ad5221f8da4a2f22d090627f19.tar.gz lwn-2f856d4e8c23f5ad5221f8da4a2f22d090627f19.zip |
scsi: qla2xxx: Fix memory leak when sending I/O fails
On heavy loads, a memory leak of the srb_t structure is observed. This
would make the qla2xxx_srbs cache gobble up memory.
Fixes: 219d27d7147e0 ("scsi: qla2xxx: Fix race conditions in the code for aborting SCSI commands")
Cc: stable@vger.kernel.org # 5.2
Link: https://lore.kernel.org/r/20191105150657.8092-7-hmadhani@marvell.com
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/macintosh/windfarm_pm112.c')
0 files changed, 0 insertions, 0 deletions