提交 be8bd863 编写于 作者: D David S. Miller

[VLAN] vlan_dev: Use skb_reset_network_header().

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册