git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovsdb: Implement a "lock" feature in the database protocol.
[sliver-openvswitch.git]
/
ovsdb
/
trigger.c
diff --git
a/ovsdb/trigger.c
b/ovsdb/trigger.c
index
b2eb011
..
1322a2f
100644
(file)
--- a/
ovsdb/trigger.c
+++ b/
ovsdb/trigger.c
@@
-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)
{
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;
if (t->result) {
ovsdb_trigger_complete(t);
return true;