Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);