]> Pileus Git - ~andy/linux/blobdiff - drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
net: vlan: add protocol argument to packet tagging functions
[~andy/linux] / drivers / net / ethernet / intel / ixgbevf / ixgbevf_main.c
index 4bc1f84c9352616a2cc4c21834aa9f99015e68f2..1f5166ad6bb514ade1ee4fd906c1e47385bf5b6a 100644 (file)
@@ -291,7 +291,7 @@ static void ixgbevf_receive_skb(struct ixgbevf_q_vector *q_vector,
        u16 tag = le16_to_cpu(rx_desc->wb.upper.vlan);
 
        if (is_vlan && test_bit(tag & VLAN_VID_MASK, adapter->active_vlans))
-               __vlan_hwaccel_put_tag(skb, tag);
+               __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tag);
 
        if (!(adapter->flags & IXGBE_FLAG_IN_NETPOLL))
                napi_gro_receive(&q_vector->napi, skb);