projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f613a0d
)
ofproto-dpif: Fix behavior when a subset of VLANs is trunked.
author
Ben Pfaff
<blp@nicira.com>
Wed, 24 Aug 2011 22:27:14 +0000
(15:27 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 16 Sep 2011 16:00:57 +0000
(09:00 -0700)
Reported-by: Philippe Jung <phil.jung@free.fr>
ofproto/ofproto-dpif.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index 98bcc74701e2d6ce0ce32733c7702098b4f4875e..bd976f760d398f558f8e96045b81d2dac953ada8 100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-1119,7
+1119,7
@@
bundle_set(struct ofproto *ofproto_, void *aux,
}
/* Get trunked VLANs. */
- trunks = s->vlan == -1 ?
NULL : s->trunks
;
+ trunks = s->vlan == -1 ?
s->trunks : NULL
;
if (!vlan_bitmap_equal(trunks, bundle->trunks)) {
free(bundle->trunks);
bundle->trunks = vlan_bitmap_clone(trunks);