]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sunqe.c
Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6
[linux-2.6-omap-h63xx.git] / drivers / net / sunqe.c
index fa70e0b78af72d3c6ba4e5051bf95ad47273dad4..1b65ae8a1c7c6e3ef778d727fc6f0be83c40c9b3 100644 (file)
@@ -439,8 +439,8 @@ static void qe_rx(struct sunqe *qep)
                        } else {
                                skb_reserve(skb, 2);
                                skb_put(skb, len);
-                               eth_copy_and_sum(skb, (unsigned char *) this_qbuf,
-                                                len, 0);
+                               skb_copy_to_linear_data(skb, (unsigned char *) this_qbuf,
+                                                len);
                                skb->protocol = eth_type_trans(skb, qep->dev);
                                netif_rx(skb);
                                qep->dev->last_rx = jiffies;