On Thu, 2005-06-23 at 16:55 -0400, James Lentini wrote:
> Why did you remove the asserts in dapl_ib_post_recv() and 
> dapl_ib_post_send()? 

The code continues 6 lines down:

< assert if cookie is null here >

        sg_list = ep->recv_iov;
        for (i = 0; i < num_segments; i++, sg_list++) {
                sg_list->addr = local_iov[i].virtual_address;
                sg_list->length = (u32) local_iov[i].segment_length;
                sg_list->lkey = local_iov[i].lmr_context;
                total_len += sg_list->length;
        }
        cookie->val.dto.size = total_len;
        ^^^^^^^^
                would crash here anyways.

-tduffy

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to