ipv4/tunnel: use __vlan_hwaccel helpers
authorMichał Mirosław <[email protected]>
Thu, 8 Nov 2018 23:18:04 +0000 (00:18 +0100)
committerDavid S. Miller <[email protected]>
Fri, 9 Nov 2018 04:45:04 +0000 (20:45 -0800)
Signed-off-by: Michał Mirosław <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/ip_tunnel_core.c

index dde671e978298b5b0239f975fe134b232db9049b..f45b96d715f078a544dce6574d4cdc9f616bd8db 100644 (file)
@@ -120,7 +120,7 @@ int __iptunnel_pull_header(struct sk_buff *skb, int hdr_len,
        }
 
        skb_clear_hash_if_not_l4(skb);
-       skb->vlan_tci = 0;
+       __vlan_hwaccel_clear_tag(skb);
        skb_set_queue_mapping(skb, 0);
        skb_scrub_packet(skb, xnet);