patch-2.3.40 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:
Thu Jan 20 10:48:35 2000
- Orig file:
v2.3.39/linux/net/ax25/ax25_out.c
- Orig date:
Thu Aug 26 13:05:45 1999
diff -u --recursive --new-file v2.3.39/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)