[ofa-general] [PATCH] libmlx4: prevent seg fault when sending bigmessages as inline

Dotan Barak dotanb at dev.mellanox.co.il
Tue Jan 15 04:22:36 PST 2008


Sean Hefty wrote:
>> Fix the type of the variable that hold the number of bytes sent
>> as inline message so far.
>> Without the patch, If the user will try to use very big messages (total > 2^31)
>> there will be a seg fault.
>>     
>
> 2^31 is the max message size supported by IB.
>   
This is true, but if one would try to send this message not as inline he 
will get completion with error not a seg fault ...

Dotan



More information about the general mailing list