From: Michał Mirosław Date: Thu, 8 Nov 2018 23:18:03 +0000 (+0100) Subject: 8021q: use __vlan_hwaccel helpers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=418a976d6c68d0835ffebf755cdbd53e9b9c6e7f;p=linux.git 8021q: use __vlan_hwaccel helpers Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller --- diff --git a/net/8021q/vlan_core.c b/net/8021q/vlan_core.c index 6308b5427a669..57425049faf27 100644 --- a/net/8021q/vlan_core.c +++ b/net/8021q/vlan_core.c @@ -57,7 +57,7 @@ bool vlan_do_receive(struct sk_buff **skbp) } skb->priority = vlan_get_ingress_priority(vlan_dev, skb->vlan_tci); - skb->vlan_tci = 0; + __vlan_hwaccel_clear_tag(skb); rx_stats = this_cpu_ptr(vlan_dev_priv(vlan_dev)->vlan_pcpu_stats);