]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/irda/wrapper.c
[TCP]: Access to highest_sack obsoletes forward_cnt_hint
[linux-2.6-omap-h63xx.git] / net / irda / wrapper.c
index 2acc66dfb5586772d0852f2f3304f035332fab77..a7a7f191f1a86c94437b464f02fdaa5097787ba0 100644 (file)
@@ -239,7 +239,8 @@ async_bump(struct net_device *dev,
 
        if(docopy) {
                /* Copy data without CRC (lenght already checked) */
-               memcpy(newskb->data, rx_buff->data, rx_buff->len - 2);
+               skb_copy_to_linear_data(newskb, rx_buff->data,
+                                       rx_buff->len - 2);
                /* Deliver this skb */
                dataskb = newskb;
        } else {