ovsdb-server on windows crashes without it. Signed-off-by: Gurucharan Shetty <gshe...@nicira.com> --- lib/netdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/netdev.c b/lib/netdev.c index 4736a97..71d3f83 100644 --- a/lib/netdev.c +++ b/lib/netdev.c @@ -70,7 +70,8 @@ static struct shash netdev_shash OVS_GUARDED_BY(netdev_mutex) * providers. For example, netdev_run() calls into provider 'run' functions, * which might reasonably want to call one of the netdev functions that takes * netdev_class_mutex. */ -static struct ovs_mutex netdev_class_mutex OVS_ACQ_BEFORE(netdev_mutex); +static struct ovs_mutex netdev_class_mutex OVS_ACQ_BEFORE(netdev_mutex) = + OVS_MUTEX_INITIALIZER; /* Contains 'struct netdev_registered_class'es. */ static struct hmap netdev_classes OVS_GUARDED_BY(netdev_class_mutex) -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev