patch-2.4.6 linux/net/ax25/ax25_ip.c

Next file: linux/net/ax25/ax25_subr.c
Previous file: linux/net/ax25/ax25_in.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/net/ax25/ax25_ip.c linux/net/ax25/ax25_ip.c
@@ -160,7 +160,7 @@
 			dst_c = *dst;
 
 			skb_pull(ourskb, AX25_HEADER_LEN - 1);	/* Keep PID */
-			skb->nh.raw = skb->data;
+			ourskb->nh.raw = ourskb->data;
 
 			ax25_send_frame(ourskb, ax25_dev->values[AX25_VALUES_PACLEN], &src_c, 
 &dst_c, route->digipeat, dev);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)