[SK_BUFF]: Introduce skb_copy_to_linear_data{_offset}
[deliverable/linux.git] / drivers / net / atari_pamsnet.c
index 745101d7451b25bc7fc4adfd628d6febc54be17b..54714409a09b03d963ff881879687301aed5bc3e 100644 (file)
@@ -793,7 +793,8 @@ pamsnet_poll_rx(struct net_device *dev) {
 
                        /* 'skb->data' points to the start of sk_buff data area.
                         */
-                       memcpy(skb->data, nic_packet->buffer, pkt_len);
+                       skb_copy_to_linear_data(skb, nic_packet->buffer,
+                                               pkt_len);
                        netif_rx(skb);
                        dev->last_rx = jiffies;
                        lp->stats.rx_packets++;
This page took 0.024533 seconds and 5 git commands to generate.