projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3d2fe
)
ofproto-dpif: Fix mirror configuration and deconfiguration.
author
Ben Pfaff
<blp@nicira.com>
Thu, 28 Jul 2011 00:06:50 +0000
(17:06 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 28 Jul 2011 18:24:32 +0000
(11:24 -0700)
Deleting or updating a mirror didn't work: mirror_set() didn't set the
'aux' member so mirror_lookup() couldn't find the mirror on that basis.
Bug #6617.
Reported-by: David Tsai <dtsai@nicira.com>
ofproto/ofproto-dpif.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index a700d5ed9c8f159c3414ce931d751abe9d155346..1165570a3596c784a7e9488f628af7e018fc1a73 100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-1267,6
+1267,7
@@
mirror_set(struct ofproto *ofproto_, void *aux,
mirror = ofproto->mirrors[idx] = xzalloc(sizeof *mirror);
mirror->ofproto = ofproto;
mirror->idx = idx;
+ mirror->aux = aux;
mirror->out_vlan = -1;
mirror->name = NULL;
}