[VLAN] vlan_dev: Use skb_reset_network_header().
David S. Miller [Fri, 20 Apr 2007 03:34:51 +0000 (20:34 -0700)]
Signed-off-by: David S. Miller <davem@davemloft.net>

net/8021q/vlan_dev.c

index 42a35be..7ff6b79 100644 (file)
@@ -382,7 +382,7 @@ int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev,
                }
 
                skb->protocol = htons(ETH_P_8021Q);
-               skb->nh.raw = skb->data;
+               skb_reset_network_header(skb);
        }
 
        /* Before delegating work to the lower layer, enter our MAC-address */