[VLAN] vlan_dev: Use skb_reset_network_header().

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2007-04-19 20:34:51 -07:00
parent afdf27c956
commit be8bd86321

View 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 */