diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2018-07-26 16:34:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-15 18:12:47 +0200 |
commit | fa085d77929bf3267876f79816a67b82d515826b (patch) | |
tree | 62c79d12037ecd37a4291bae1dc7a6d608623737 /init/main.c | |
parent | 71b7ca5795008efe082742473bd606b85bc65fd6 (diff) |
scsi: qla2xxx: Fix memory leak for allocating abort IOCB
commit 5e53be8e476a3397ed5383c23376f299555a2b43 upstream.
In the case of IOCB QFull, Initiator code can leave behind a stale pointer
to an SRB structure on the outstanding command array.
Fixes: 82de802ad46e ("scsi: qla2xxx: Preparation for Target MQ.")
Cc: stable@vger.kernel.org #v4.16+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions