[openib-general] [PATCH] [CM] verify cm_id state before allocating messages

Arlin Davis ardavis at ichips.intel.com
Thu Jun 30 19:12:13 PDT 2005


Sean Hefty wrote:

>The following patch moves verification of the cm_id state higher up
>in the CM function calls.  This fixes an issue trying to allocate a
>message for a cm_id that may be in an invalid state, which could
>result in a crash.
>
>This problem was first reported by Hal a while ago, but was recently
>hit by Arlin running a usermode application.  Arlin, can you verify
>that this fixes your issues?
>  
>
Fix looks good, returns error instead of kernel oops.

>Signed-off-by: Sean Hefty <sean.hefty at intel.com>
>
>
>
>
>_______________________________________________
>openib-general mailing list
>openib-general at openib.org
>http://openib.org/mailman/listinfo/openib-general
>
>To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
>  
>




More information about the general mailing list