projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080cfa5
)
Fix failure to back off when vconn_open() fails immediately.
author
Ben Pfaff
<blp@nicira.com>
Thu, 18 Sep 2008 16:47:18 +0000
(09:47 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 18 Sep 2008 16:48:37 +0000
(09:48 -0700)
This typically would happen only with an entirely local vconn,
e.g. connecting to a Unix domain socket vconn.
lib/rconn.c
patch
|
blob
|
history
diff --git
a/lib/rconn.c
b/lib/rconn.c
index fabd61eea6bad7021d6220249dfe422cedd0a8ae..81954955e65fc875e75cddb5b3f7a401772b4f1d 100644
(file)
--- a/
lib/rconn.c
+++ b/
lib/rconn.c
@@
-279,6
+279,7
@@
reconnect(struct rconn *rc)
state_transition(rc, S_CONNECTING);
} else {
VLOG_WARN("%s: connection failed (%s)", rc->name, strerror(retval));
+ rc->backoff_deadline = TIME_MAX; /* Prevent resetting backoff. */
disconnect(rc, 0);
}
return retval;