TESTS really fix T1040

This finally makes T1040 trigger the cmdsn overflow deadlock.
Its a bad idea to mangle on negotiated parameters as this leads
to protocol errors.
We also need to avoid overlapping writes as this leads also
to protocol errors.
Additionally we test with and with (if available) immediate data.

Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
Peter Lieven
2012-11-28 13:55:55 +01:00
parent c09ee1dab8
commit 722eb013c8
2 changed files with 63 additions and 26 deletions

View File

@@ -52,6 +52,7 @@ void
iscsi_add_to_outqueue(struct iscsi_context *iscsi, struct iscsi_pdu *pdu)
{
SLIST_ADD_END(&iscsi->outqueue, pdu);
return;
}
void iscsi_decrement_iface_rr() {