This patch fixes a bug when pushing vlans. It causes vlans to be transmitted with the TPID instead of the tci on the inner vlan.
Signed-off-by: Thomas F Herbert <thomasfherb...@entpnt.com> --- datapath/linux/compat/include/linux/if_vlan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath/linux/compat/include/linux/if_vlan.h b/datapath/linux/compat/include/linux/if_vlan.h index 28c4dae..ab13a46 100644 --- a/datapath/linux/compat/include/linux/if_vlan.h +++ b/datapath/linux/compat/include/linux/if_vlan.h @@ -129,7 +129,7 @@ static inline int rpl_vlan_insert_tag(struct sk_buff *skb, u16 vlan_tci) veth->h_vlan_proto = htons(ETH_P_8021Q); /* now, the TCI */ - veth->h_vlan_TCI = htons(ETH_P_8021Q); + veth->h_vlan_TCI = htons(vlan_tci); return 0; } -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev