ovsdb: Implement a "lock" feature in the database protocol.
[openvswitch] / ovsdb / trigger.c
index b2eb0116fff49ed6bc9d30a5c3f19d28218fc998..1322a2fd4ef9ec12a3992426d373d0fc606d2598 100644 (file)
@@ -110,8 +110,8 @@ ovsdb_trigger_wait(struct ovsdb *db, long long int now)
 static bool
 ovsdb_trigger_try(struct ovsdb_trigger *t, long long int now)
 {
-    t->result = ovsdb_execute(t->session->db, t->request,
-                              now - t->created, &t->timeout_msec);
+    t->result = ovsdb_execute(t->session->db, t->session,
+                              t->request, now - t->created, &t->timeout_msec);
     if (t->result) {
         ovsdb_trigger_complete(t);
         return true;