mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
qla2xxx: Fix memory leak for abts processing
commit ae940f2c47 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
85f687708c
commit
c5ad350d61
@@ -6794,6 +6794,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
|
||||
|
||||
Reference in New Issue
Block a user