projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c411bc
)
Initialize rconn "connected" member.
author
Ben Pfaff
<blp@nicira.com>
Wed, 30 Apr 2008 22:12:05 +0000
(15:12 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 2 May 2008 00:02:31 +0000
(17:02 -0700)
Found by valgrind.
lib/rconn.c
patch
|
blob
|
history
diff --git
a/lib/rconn.c
b/lib/rconn.c
index f62ac61a5571620c925afb4ac9c9b9392bdf970c..73d42bb91cc4bee1220c902c9e407c6fea89fc08 100644
(file)
--- a/
lib/rconn.c
+++ b/
lib/rconn.c
@@
-228,6
+228,7
@@
create_rconn(const char *name, int txq_limit, struct vconn *vconn)
struct rconn *rc = xmalloc(sizeof *rc);
assert(txq_limit > 0);
rc->reliable = vconn == NULL;
+ rc->connected = vconn != NULL;
rc->name = xstrdup(name);
rc->vconn = vconn;
queue_init(&rc->txq);