diff options
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
-rw-r--r-- | net/bluetooth/af_bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c index c7228cfc6218..d942b946ba07 100644 --- a/net/bluetooth/af_bluetooth.c +++ b/net/bluetooth/af_bluetooth.c | |||
@@ -221,7 +221,7 @@ int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
221 | copied = len; | 221 | copied = len; |
222 | } | 222 | } |
223 | 223 | ||
224 | skb->h.raw = skb->data; | 224 | skb_reset_transport_header(skb); |
225 | err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); | 225 | err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); |
226 | 226 | ||
227 | skb_free_datagram(sk, skb); | 227 | skb_free_datagram(sk, skb); |