diff options
Diffstat (limited to 'drivers/net/sun3lance.c')
-rw-r--r-- | drivers/net/sun3lance.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/sun3lance.c b/drivers/net/sun3lance.c index 791e081fdc15..f1548c033327 100644 --- a/drivers/net/sun3lance.c +++ b/drivers/net/sun3lance.c | |||
@@ -853,10 +853,9 @@ static int lance_rx( struct net_device *dev ) | |||
853 | 853 | ||
854 | skb_reserve( skb, 2 ); /* 16 byte align */ | 854 | skb_reserve( skb, 2 ); /* 16 byte align */ |
855 | skb_put( skb, pkt_len ); /* Make room */ | 855 | skb_put( skb, pkt_len ); /* Make room */ |
856 | // skb_copy_to_linear_data(skb, PKTBUF_ADDR(head), pkt_len); | 856 | skb_copy_to_linear_data(skb, |
857 | eth_copy_and_sum(skb, | ||
858 | PKTBUF_ADDR(head), | 857 | PKTBUF_ADDR(head), |
859 | pkt_len, 0); | 858 | pkt_len); |
860 | 859 | ||
861 | skb->protocol = eth_type_trans( skb, dev ); | 860 | skb->protocol = eth_type_trans( skb, dev ); |
862 | netif_rx( skb ); | 861 | netif_rx( skb ); |