]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_vlan.h
vlan: fix network_header/mac_header adjustments
[linux-2.6-omap-h63xx.git] / include / linux / if_vlan.h
index 5190452ac7dc8b7c5488f22958249502e7bcff09..8f5bf9b676aaac66ae0152d4d1d2d8ad517bb1a4 100644 (file)
@@ -279,8 +279,6 @@ static inline struct sk_buff *__vlan_put_tag(struct sk_buff *skb, unsigned short
        veth->h_vlan_TCI = htons(tag);
 
        skb->protocol = htons(ETH_P_8021Q);
-       skb->mac_header -= VLAN_HLEN;
-       skb->network_header -= VLAN_HLEN;
 
        return skb;
 }