projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4a9b53
)
qla2xxx: Fix memory leak for abts processing
author
Quinn Tran
<quinn.tran@cavium.com>
Wed, 15 Mar 2017 16:48:44 +0000
(09:48 -0700)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Sun, 19 Mar 2017 00:28:08 +0000
(17:28 -0700)
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>
drivers/scsi/qla2xxx/qla_target.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_target.c
b/drivers/scsi/qla2xxx/qla_target.c
index 45f5077684f0a5b39c0645ddee831bf4071667d4..ecf97c5993e8d018128dd8087a39e055789dd254 100644
(file)
--- 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