[ovs-dev] [thread-safety 04/11] lacp: Make the LACP module thread safe.

Ben Pfaff blp at nicira.com
Mon Jul 29 21:37:35 UTC 2013


On Fri, Jul 26, 2013 at 06:07:05PM -0700, Ethan Jackson wrote:
> Signed-off-by: Ethan Jackson <ethan at nicira.com>

In lacp_unref(), I think we need to move list_remove(&lacp->node);
inside the lock/unlock.  Otherwise we have a race here where
lacp_find() can grab an entry that is being destroyed.

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list