]> Pileus Git - ~andy/linux/blobdiff - drivers/net/sunlance.c
Pull ec into release branch
[~andy/linux] / drivers / net / sunlance.c
index 42722530ab24501f4ca647ea0b702f33557728e4..053b7cb0d94406fb8b3b30b3a21cf51d4494be7e 100644 (file)
@@ -549,9 +549,9 @@ static void lance_rx_dvma(struct net_device *dev)
 
                        skb_reserve(skb, 2);            /* 16 byte align */
                        skb_put(skb, len);              /* make room */
-                       eth_copy_and_sum(skb,
+                       skb_copy_to_linear_data(skb,
                                         (unsigned char *)&(ib->rx_buf [entry][0]),
-                                        len, 0);
+                                        len);
                        skb->protocol = eth_type_trans(skb, dev);
                        netif_rx(skb);
                        dev->last_rx = jiffies;