diff options
Diffstat (limited to 'net/ax25/af_ax25.c')
-rw-r--r-- | net/ax25/af_ax25.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index c89e4f6f9025..b1a4d60ce9a8 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c | |||
@@ -1548,7 +1548,7 @@ static int ax25_sendmsg(struct kiocb *iocb, struct socket *sock, | |||
1548 | goto out; | 1548 | goto out; |
1549 | } | 1549 | } |
1550 | 1550 | ||
1551 | skb->nh.raw = skb->data; | 1551 | skb_reset_network_header(skb); |
1552 | 1552 | ||
1553 | /* Add the PID if one is not supplied by the user in the skb */ | 1553 | /* Add the PID if one is not supplied by the user in the skb */ |
1554 | if (!ax25->pidincl) { | 1554 | if (!ax25->pidincl) { |