projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e16b0
)
Initialize otherwise uninitialized variable.
author
Ben Pfaff
<blp@nicira.com>
Thu, 4 Sep 2008 16:47:33 +0000
(09:47 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 4 Sep 2008 16:47:33 +0000
(09:47 -0700)
Found by valgrind.
switch/datapath.c
patch
|
blob
|
history
diff --git
a/switch/datapath.c
b/switch/datapath.c
index c25bc3e1cafb12a04bfac70b1b8b2360b1064fd8..7382d4c6d87fcb45ddf545bab9e141d68c5c1d87 100644
(file)
--- a/
switch/datapath.c
+++ b/
switch/datapath.c
@@
-440,6
+440,7
@@
remote_create(struct datapath *dp, struct rconn *rconn)
list_push_back(&dp->remotes, &remote->node);
remote->rconn = rconn;
remote->cb_dump = NULL;
+ remote->n_txq = 0;
return remote;
}