summaryrefslogtreecommitdiff
path: root/net/ax25/ax25_ds_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ax25/ax25_ds_subr.c')
-rw-r--r--net/ax25/ax25_ds_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/ax25_ds_subr.c b/net/ax25/ax25_ds_subr.c
index 9569dd3fa466..a49773ff2b92 100644
--- a/net/ax25/ax25_ds_subr.c
+++ b/net/ax25/ax25_ds_subr.c
@@ -136,7 +136,7 @@ static void ax25_kiss_cmd(ax25_dev *ax25_dev, unsigned char cmd, unsigned char p
if ((skb = alloc_skb(2, GFP_ATOMIC)) == NULL)
return;
- skb->nh.raw = skb->data;
+ skb_reset_network_header(skb);
p = skb_put(skb, 2);
*p++ = cmd;