]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/ieee802154/ca8210.c
networking: introduce and use skb_put_data()
[mirror_ubuntu-artful-kernel.git] / drivers / net / ieee802154 / ca8210.c
index 7a218549c80aa0f9384d3d3b400907716c81184c..a626c539fb17ffcb78f1508566aa90fbbe99481d 100644 (file)
@@ -1875,7 +1875,7 @@ static int ca8210_skb_rx(
 copy_payload:
        /* Add <msdulen> bytes of space to the back of the buffer */
        /* Copy msdu to skb */
-       memcpy(skb_put(skb, msdulen), &data_ind[29], msdulen);
+       skb_put_data(skb, &data_ind[29], msdulen);
 
        ieee802154_rx_irqsafe(hw, skb, mpdulinkquality);
        return 0;