patch-2.2.14 linux/net/ax25/ax25_out.c
Next file: linux/net/ax25/ax25_subr.c
Previous file: linux/net/ax25/ax25_ip.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Jan 4 10:12:26 2000
- Orig file:
v2.2.13/linux/net/ax25/ax25_out.c
- Orig date:
Fri Dec 18 13:56:21 1998
diff -u --recursive --new-file v2.2.13/linux/net/ax25/ax25_out.c linux/net/ax25/ax25_out.c
@@ -174,7 +174,7 @@
if (ka9qfrag == 1) {
skb_reserve(skbn, frontlen + 2);
-
+ skbn->nh.raw = skbn->data + (skb->nh.raw - skb->data);
memcpy(skb_put(skbn, len), skb->data, len);
p = skb_push(skbn, 2);
@@ -187,6 +187,7 @@
}
} else {
skb_reserve(skbn, frontlen + 1);
+ skbn->nh.raw = skbn->data + (skb->nh.raw - skb->data);
memcpy(skb_put(skbn, len), skb->data, len);
p = skb_push(skbn, 1);
*p = AX25_P_TEXT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)