diff options
Diffstat (limited to 'drivers/net/pci-skeleton.c')
-rw-r--r-- | drivers/net/pci-skeleton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pci-skeleton.c b/drivers/net/pci-skeleton.c index df8998b4f37e..3cdbe118200b 100644 --- a/drivers/net/pci-skeleton.c +++ b/drivers/net/pci-skeleton.c | |||
@@ -1567,7 +1567,7 @@ static void netdrv_rx_interrupt (struct net_device *dev, | |||
1567 | if (skb) { | 1567 | if (skb) { |
1568 | skb_reserve (skb, 2); /* 16 byte align the IP fields. */ | 1568 | skb_reserve (skb, 2); /* 16 byte align the IP fields. */ |
1569 | 1569 | ||
1570 | eth_copy_and_sum (skb, &rx_ring[ring_offset + 4], pkt_size, 0); | 1570 | skb_copy_to_linear_data (skb, &rx_ring[ring_offset + 4], pkt_size); |
1571 | skb_put (skb, pkt_size); | 1571 | skb_put (skb, pkt_size); |
1572 | 1572 | ||
1573 | skb->protocol = eth_type_trans (skb, dev); | 1573 | skb->protocol = eth_type_trans (skb, dev); |