[openib-general] [PATCH] limrdmacm/cmatose: added a check to the return value of the post send requests

Dotan Barak dotanb at mellanox.co.il
Tue Apr 4 00:36:35 PDT 2006


On Tuesday 04 April 2006 10:31, Sean Hefty wrote:
> >My target is to add this example to the regression, so the output incase of an
> >error is a nice to have but not a must.
> >I would like to fix the test and make it exit with value different than zero
> >incase of an error.
> 
> I think you're missing the "&& !ret" in the for-loop check.  If post_send fails,
> the function returns the failure.  

You are right, i missed it ... (oops ..)
In the function that handles the post_recv there is a break when the rc is not zero ....

Dotan



More information about the general mailing list