patch-2.2.14 linux/net/ax25/ax25_ds_subr.c

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

diff -u --recursive --new-file v2.2.13/linux/net/ax25/ax25_ds_subr.c linux/net/ax25/ax25_ds_subr.c
@@ -150,6 +150,7 @@
 	if ((skb = alloc_skb(2, GFP_ATOMIC)) == NULL)
 		return;
 
+	skb->nh.raw = skb->data;
 	p = skb_put(skb, 2);
 
 	*p++ = cmd;

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