diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index 42a35bed0881d388c21fc7eb1ef433f44afa9696..7ff6b7948485b29c52765000b25e8ad8b53c2d79 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c @@ -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 */