diff options
| author | Quinn Tran <[email protected]> | 2017-03-15 09:48:44 -0700 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2017-03-18 17:28:08 -0700 |
| commit | ae940f2c472a62904dc18234de5cf3ed28f195ee (patch) | |
| tree | cf6f32aaa6be1edb92c3b3b1bbf45c4946458191 | |
| parent | c4a9b538ab2a109c5f9798bea1f8f4bf93aadfb9 (diff) | |
qla2xxx: Fix memory leak for abts processing
Cc: <[email protected]>
Signed-off-by: Quinn Tran <[email protected]>
Signed-off-by: Himanshu Madhani <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
| -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 |