X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Flacp.c;h=5421e2ae36d696b8414b3c183d9af088f944c226;hb=69fc54f47bbc35e81bfe2e38e57f5dcfd9858df4;hp=82698746dec359eeff1f9d4dc9a8b576377bffcd;hpb=344e21d47ecfe342fc5c3c8f32020d7a43089301;p=sliver-openvswitch.git diff --git a/lib/lacp.c b/lib/lacp.c index 82698746d..5421e2ae3 100644 --- a/lib/lacp.c +++ b/lib/lacp.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2011, 2012 Nicira, Inc. +/* Copyright (c) 2011, 2012, 2013 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -207,7 +207,7 @@ lacp_create(void) OVS_EXCLUDED(mutex) struct lacp *lacp; if (ovsthread_once_start(&once)) { - ovs_mutex_init(&mutex, PTHREAD_MUTEX_RECURSIVE); + ovs_mutex_init_recursive(&mutex); ovsthread_once_done(&once); }