}
}
+#warning "Remove me soon"
+static struct tcp_operations iscsi_tcp_operations;
+
/**
* Handle TCP connection closure
*
if ( ++iscsi->retry_count <= ISCSI_MAX_RETRIES ) {
DBG ( "iSCSI %p retrying connection\n", iscsi );
/* Re-copy address to handle redirection */
+ memset ( &iscsi->tcp, 0, sizeof ( iscsi->tcp ) );
+ iscsi->tcp.tcp_op = &iscsi_tcp_operations;
memcpy ( &iscsi->tcp.peer, &iscsi->target,
sizeof ( iscsi->tcp.peer ) );
tcp_connect ( conn );