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

[X25]: Restore skb->dev setting in x25_type_trans().

Noticed by Pascal Schlafer.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9469d458
......@@ -8,6 +8,7 @@
static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev)
{
skb->mac.raw = skb->data;
skb->dev = dev;
skb->pkt_type = PACKET_HOST;
return htons(ETH_P_X25);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册