Skip to content

Commit

Permalink
[X25]: Restore skb->dev setting in x25_type_trans().
Browse files Browse the repository at this point in the history
Noticed by Pascal Schlafer.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Apr 10, 2006
1 parent 9469d45 commit 9b591cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/net/x25device.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b591cb

Please sign in to comment.