reconnect: do not leak immediate PDUs
Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
@@ -341,6 +341,7 @@ try_again:
|
|||||||
|
|
||||||
ISCSI_LIST_REMOVE(&old_iscsi->waitpdu, pdu);
|
ISCSI_LIST_REMOVE(&old_iscsi->waitpdu, pdu);
|
||||||
if (pdu->itt == 0xffffffff) {
|
if (pdu->itt == 0xffffffff) {
|
||||||
|
iscsi_free_pdu(old_iscsi, pdu);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user