net: vlan: add protocol argument to packet tagging functions
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / cisco / enic / enic_main.c
index 05c1e59b6bff9814e64066895176eb3d89c4d083..635f55992d7e8f2788a5411974e448d7af20f3ec 100644 (file)
@@ -1300,7 +1300,7 @@ static void enic_rq_indicate_buf(struct vnic_rq *rq,
                }
 
                if (vlan_stripped)
-                       __vlan_hwaccel_put_tag(skb, vlan_tci);
+                       __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci);
 
                if (netdev->features & NETIF_F_GRO)
                        napi_gro_receive(&enic->napi[q_number], skb);