diff options
| author | Arun Easi <aeasi@marvell.com> | 2019-11-05 18:06:55 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-11-09 05:15:42 +0300 |
| commit | 2f856d4e8c23f5ad5221f8da4a2f22d090627f19 (patch) | |
| tree | 92ad302eb83b1fae059e815df1c49965d93aa4c4 /net/lapb/lapb_subr.c | |
| parent | f45bca8c5052e8c59bab64ee90c44441678b9a52 (diff) | |
| download | linux-2f856d4e8c23f5ad5221f8da4a2f22d090627f19.tar.xz | |
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
