diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2017-03-15 17:48:44 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-03-19 01:28:08 +0100 |
commit | ae940f2c472a62904dc18234de5cf3ed28f195ee (patch) | |
tree | cf6f32aaa6be1edb92c3b3b1bbf45c4946458191 | |
parent | qla2xxx: Allow vref count to timeout on vport delete. (diff) | |
download | linux-ae940f2c472a62904dc18234de5cf3ed28f195ee.tar.xz linux-ae940f2c472a62904dc18234de5cf3ed28f195ee.zip |
qla2xxx: Fix memory leak for abts processing
Cc: <stable@vger.kernel.org>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_target.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 45f5077684f0..ecf97c5993e8 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -6642,6 +6642,8 @@ qlt_handle_abts_recv_work(struct work_struct *work) spin_lock_irqsave(&ha->hardware_lock, flags); qlt_response_pkt_all_vps(vha, (response_t *)&op->atio); spin_unlock_irqrestore(&ha->hardware_lock, flags); + + kfree(op); } void |