[ovs-dev] [thread-safety 02/11 v2] stp: Make the STP module thread safe.

Ethan Jackson ethan at nicira.com
Thu Aug 1 19:22:58 UTC 2013


Thanks for the review,  I'll merge this soon.

Ethan

On Thu, Aug 1, 2013 at 11:06 AM, Ben Pfaff <blp at nicira.com> wrote:
> On Tue, Jul 30, 2013 at 05:59:10PM -0700, Ethan Jackson wrote:
>> Signed-off-by: Ethan Jackson <ethan at nicira.com>
>> ---
>>
>> This version makes the "all_stps" pointer const.  Adds a comment
>> explaining why we're using a recursive mutex.  And systematically
>> marks the helper functions as requireing a lock.
>
> You'll need to adjust ovs_mutex_init() to use the final syntax.
>
> Acked-by: Ben Pfaff <blp at nicira.com>
X-CudaMail-Whitelist-To: dev at openvswitch.org



More information about the dev mailing list