1
1

Bark if we got a wrong sequence number. Here wrong means that the

seq number if smaller than what we expect.

This commit was SVN r18274.
Этот коммит содержится в:
George Bosilca 2008-04-24 15:48:43 +00:00
родитель 46c6aa4ed4
Коммит 73c9de3af9

Просмотреть файл

@ -298,9 +298,17 @@ static mca_pml_ob1_recv_frag_t *check_cantmatch_for_match(
/* /*
* If the message has the next expected seq from that proc... * If the message has the next expected seq from that proc...
*/ */
if(hdr->hdr_seq != proc->expected_sequence) if(hdr->hdr_seq != proc->expected_sequence) {
if( hdr->hdr_seq < proc->expected_sequence ) {
opal_output( 0, "Unbelievable situation ... we got a duplicated fragment "
"with seq number of %d (expected %d) from %s\n",
(int)hdr->hdr_seq, (int)poc->expected_sequence,
proc->ompi_proc->proc_hostname );
opal_list_remove_item(&proc->frags_cant_match, (opal_list_item_t*)frag);
MCA_PML_OB1_RECV_FRAG_RETURN(frag); /* Drop it !!! */
}
continue; continue;
}
opal_list_remove_item(&proc->frags_cant_match, (opal_list_item_t*)frag); opal_list_remove_item(&proc->frags_cant_match, (opal_list_item_t*)frag);
return frag; return frag;