git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f44e80
)
ofproto: Always set VLAN_CFI bit to 0 in ODPAT_SET_DL_TCI action.
author
Ben Pfaff
<blp@nicira.com>
Mon, 15 Nov 2010 22:53:23 +0000
(14:53 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 15 Nov 2010 22:53:23 +0000
(14:53 -0800)
The kernel requires VLAN_CFI to be 0, not 1.
Reported-by: Teemu Koponen <koponen@nicira.com>
Tested-by: Teemu Koponen <koponen@nicira.com>
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
aec0f8f
..
6b071c7
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-2795,8
+2795,7
@@
xlate_set_dl_tci(struct action_xlate_ctx *ctx)
} else {
union odp_action *oa = odp_actions_add(ctx->out, ODPAT_SET_DL_TCI);
oa->dl_tci.tci = htons(ntohs(dl_vlan & htons(VLAN_VID_MASK))
- | (dl_vlan_pcp << VLAN_PCP_SHIFT)
- | VLAN_CFI);
+ | (dl_vlan_pcp << VLAN_PCP_SHIFT));
}
}