[TCP]: Congestion control API update.
[firefly-linux-kernel-4.4.55.git] / include / linux / if_vlan.h
index 544490d9d0bdfed269746ba7d7839e972f7cac1e..81e9bc93569b5e0a849b19a06987b53c983d4074 100644 (file)
@@ -275,8 +275,8 @@ static inline struct sk_buff *__vlan_put_tag(struct sk_buff *skb, unsigned short
        veth->h_vlan_TCI = htons(tag);
 
        skb->protocol = __constant_htons(ETH_P_8021Q);
-       skb->mac.raw -= VLAN_HLEN;
-       skb->nh.raw -= VLAN_HLEN;
+       skb->mac_header -= VLAN_HLEN;
+       skb->network_header -= VLAN_HLEN;
 
        return skb;
 }