Commit 31ef9f5178 (timeval: Remove CACHE_TIME scheme.) removed
initialization of a rwlock which is still used for some operations.
This restores it.
---
lib/timeval.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/timeval.c b/lib/timeval.c
index 37b4353..3262397 100644
--- a/lib/timeval.c
+++ b/lib/timeval.c
@@ -76,6 +76,7 @@ init_clock(struct clock *c, clockid_t id)
{
memset(c, 0, sizeof *c);
c->id = id;
+ ovs_rwlock_init(&c->rwlock);
xclock_gettime(c->id, &c->cache);
}
--
1.8.3.1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev