projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cd3ac84
)
rconn: Use rconn_send() to send echo requests.
author
Ben Pfaff
<blp@nicira.com>
Wed, 13 Aug 2008 18:26:26 +0000
(11:26 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 13 Aug 2008 18:26:26 +0000
(11:26 -0700)
There's no point in sending echo requests by hand.
lib/rconn.c
patch
|
blob
|
history
diff --git
a/lib/rconn.c
b/lib/rconn.c
index a4ff91a2e90e05321f1f7b6ae1c0efecf7e83029..da3ffb676f0b4f3da60a8f0fa8119d9838a1ed29 100644
(file)
--- a/
lib/rconn.c
+++ b/
lib/rconn.c
@@
-334,7
+334,7
@@
run_ACTIVE(struct rconn *rc)
{
if (timed_out(rc)) {
unsigned int base = MAX(rc->last_received, rc->state_entered);
-
queue_push_tail(&rc->txq, make_echo_request()
);
+
rconn_send(rc, make_echo_request(), NULL
);
VLOG_DBG("%s: idle %u seconds, sending inactivity probe",
rc->name, (unsigned int) (time_now() - base));
state_transition(rc, S_IDLE);