]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/pci-skeleton.c
cxgb3 - MAC watchdog update
[linux-2.6-omap-h63xx.git] / drivers / net / pci-skeleton.c
index 099972c977ef7b194c76e1ce12dae618cad7e001..df8998b4f37ee5819b07af0a60a8f45e017d5b80 100644 (file)
@@ -1344,7 +1344,7 @@ static int netdrv_start_xmit (struct sk_buff *skb, struct net_device *dev)
 
        tp->tx_info[entry].skb = skb;
        /* tp->tx_info[entry].mapping = 0; */
-       memcpy (tp->tx_buf[entry], skb->data, skb->len);
+       skb_copy_from_linear_data(skb, tp->tx_buf[entry], skb->len);
 
        /* Note: the chip doesn't have auto-pad! */
        NETDRV_W32 (TxStatus0 + (entry * sizeof(u32)),