projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142e1f5
)
bridge: Initialize mirrors' uuid member.
author
Ben Pfaff
<blp@nicira.com>
Tue, 5 Apr 2011 21:17:55 +0000
(14:17 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 19 Apr 2011 16:32:18 +0000
(09:32 -0700)
Otherwise mirrors get destroyed and re-created on every reconfiguration.
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index a0762fe6e78a8ef8805abd81305a0f21ae2b332f..4ac7e488694b8b74231a88ffd4943b37811b64de 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-3634,6
+3634,7
@@
mirror_create(struct bridge *br, struct ovsrec_mirror *cfg)
mac_learning_flush(br->ml);
br->mirrors[i] = m = xzalloc(sizeof *m);
+ m->uuid = cfg->header_.uuid;
m->bridge = br;
m->idx = i;
m->name = xstrdup(cfg->name);