Commit 9b591cbd authored by David S. Miller's avatar David S. Miller

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

Noticed by Pascal Schlafer.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9469d458
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev) static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev)
{ {
skb->mac.raw = skb->data; skb->mac.raw = skb->data;
skb->dev = dev;
skb->pkt_type = PACKET_HOST; skb->pkt_type = PACKET_HOST;
return htons(ETH_P_X25); return htons(ETH_P_X25);
......
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