New upstream version 18.11.2
[deb_dpdk.git] / lib / librte_net / rte_ether.h
index c2c5e24..e0d8311 100644 (file)
@@ -408,7 +408,7 @@ static inline int rte_vlan_insert(struct rte_mbuf **m)
        vh = (struct vlan_hdr *) (nh + 1);
        vh->vlan_tci = rte_cpu_to_be_16((*m)->vlan_tci);
 
-       (*m)->ol_flags &= ~PKT_RX_VLAN_STRIPPED;
+       (*m)->ol_flags &= ~(PKT_RX_VLAN_STRIPPED | PKT_TX_VLAN);
 
        return 0;
 }