diff options
Diffstat (limited to 'net/ax25')
-rw-r--r-- | net/ax25/ax25_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/ax25_in.c b/net/ax25/ax25_in.c index 4a6b26becadc..6d11b0633d5a 100644 --- a/net/ax25/ax25_in.c +++ b/net/ax25/ax25_in.c | |||
@@ -122,7 +122,7 @@ int ax25_rx_iframe(ax25_cb *ax25, struct sk_buff *skb) | |||
122 | } | 122 | } |
123 | 123 | ||
124 | skb_pull(skb, 1); /* Remove PID */ | 124 | skb_pull(skb, 1); /* Remove PID */ |
125 | skb->mac.raw = skb->nh.raw; | 125 | skb_reset_mac_header(skb); |
126 | skb->nh.raw = skb->data; | 126 | skb->nh.raw = skb->data; |
127 | skb->dev = ax25->ax25_dev->dev; | 127 | skb->dev = ax25->ax25_dev->dev; |
128 | skb->pkt_type = PACKET_HOST; | 128 | skb->pkt_type = PACKET_HOST; |