summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2018-11-09 00:18:03 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-08 20:45:04 -0800
commit418a976d6c68d0835ffebf755cdbd53e9b9c6e7f (patch)
treebd6fb55cee151268f8470e482aea68688303de03
parent82eea4cfe41dfc1f50a7e3af1ab3d76a89d193fc (diff)
downloadlinux-418a976d6c68d0835ffebf755cdbd53e9b9c6e7f.tar.bz2
8021q: use __vlan_hwaccel helpers
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/8021q/vlan_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan_core.c b/net/8021q/vlan_core.c
index 6308b5427a66..57425049faf2 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);