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>
This commit is contained in:
parent
c4a9b538ab
commit
ae940f2c47
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue