#include "flow.h"
#include "loop_counter.h"
#include "table.h"
+#include "vlan.h"
#include "vport-internal_dev.h"
int (*dp_ioctl_hook)(struct net_device *dev, struct ifreq *rq, int cmd);
nskb = skb->next;
skb->next = NULL;
- if (vlan_tx_tag_present(skb)) {
- skb = __vlan_put_tag(skb, vlan_tx_tag_get(skb));
- if (unlikely(!skb)) {
- err = -ENOMEM;
- goto err_kfree_skbs;
- }
- }
+ err = vlan_deaccel_tag(skb);
+ if (unlikely(err))
+ goto err_kfree_skbs;
len = sizeof(struct odp_header);
len += nla_total_size(skb->len);