]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ax25/ax25_in.c
x86: compile apm and voyager module only when selected in Kconfig
[linux-2.6-omap-h63xx.git] / net / ax25 / ax25_in.c
index 3b7d1720c2eee2c3d652526f74f92094bb4634b4..d1be080dcb25c242d9af620470f20bd3cf8de307 100644 (file)
@@ -124,7 +124,7 @@ int ax25_rx_iframe(ax25_cb *ax25, struct sk_buff *skb)
                }
 
                skb_pull(skb, 1);       /* Remove PID */
-               skb_reset_mac_header(skb);
+               skb->mac_header = skb->network_header;
                skb_reset_network_header(skb);
                skb->dev      = ax25->ax25_dev->dev;
                skb->pkt_type = PACKET_HOST;