[SK_BUFF]: Introduce skb_copy_from_linear_data{_offset}
[safe/jmp/linux-2.6] / drivers / bluetooth / dtl1_cs.c
index 459aa97..7f9c54b 100644 (file)
@@ -425,7 +425,7 @@ static int dtl1_hci_send_frame(struct sk_buff *skb)
                return -ENOMEM;
 
        skb_reserve(s, NSHL);
-       memcpy(skb_put(s, skb->len), skb->data, skb->len);
+       skb_copy_from_linear_data(skb, skb_put(s, skb->len), skb->len);
        if (skb->len & 0x0001)
                *skb_put(s, 1) = 0;     /* PAD */