diff options
author | Mario Cabrera <mario.cabrera@hpe.com> | 2016-06-28 15:08:05 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-06-28 15:08:06 -0700 |
commit | 5c142a1e41fb14f3bc3806fba68c4fcb46afb4ec (patch) | |
tree | a2993be9902aea5e65432d1084aa7c78782dd8f1 | |
parent | 096d713542063bf5cbdc35301dc59a2da2a77514 (diff) | |
download | openvswitch-5c142a1e41fb14f3bc3806fba68c4fcb46afb4ec.tar.gz |
ovsdb: Fix ovsdb-server replication blocking bug.
With this patch ovsdb-server no longer blocks waiting for the remote server
connection when doing replication.
Signed-off-by: Mario Cabrera <mario.cabrera@hpe.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r-- | ovsdb/replication.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ovsdb/replication.c b/ovsdb/replication.c index 9bf3721be..3d1bc332c 100644 --- a/ovsdb/replication.c +++ b/ovsdb/replication.c @@ -208,8 +208,7 @@ open_jsonrpc(const char *server) struct stream *stream; int error; - error = stream_open_block(jsonrpc_stream_open(server, &stream, - DSCP_DEFAULT), &stream); + error = jsonrpc_stream_open(server, &stream, DSCP_DEFAULT); return error ? NULL : jsonrpc_open(stream); } |