[ofw] RE: Is there a race in __endpt_mgr_add_local?

Fab Tillier ftillier at windows.microsoft.com
Thu Oct 23 15:56:39 PDT 2008


It probably needs a lock.  I don't have access to my dev box right now so can't look for sure.

-Fab

>From: ofw-bounces at lists.openfabrics.org
>[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
>Sent: Thursday, October 23, 2008 3:51 PM
>To: Fab Tillier; ofw at lists.openfabrics.org
>Subject: [ofw] Is there a race in __endpt_mgr_add_local?
>
>Hi Fab,
>
>The function __endpt_mgr_add_local is being called from __bcast_cb without the port lock being hold.
>
>It later calls __endpt_mgr_insert (again without the lock).
>
>I believe that this is a bug, is there anyone who disagrees?
>
>Thanks
>Tzachi
>



More information about the ofw mailing list