Commit be8bd863 authored by David S. Miller's avatar David S. Miller

[VLAN] vlan_dev: Use skb_reset_network_header().

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent afdf27c9
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment