diff options
Diffstat (limited to 'drivers/net/7990.c')
-rw-r--r-- | drivers/net/7990.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/7990.c b/drivers/net/7990.c index 0877fc372f4b..e89ace109a5d 100644 --- a/drivers/net/7990.c +++ b/drivers/net/7990.c | |||
@@ -333,9 +333,9 @@ static int lance_rx (struct net_device *dev) | |||
333 | 333 | ||
334 | skb_reserve (skb, 2); /* 16 byte align */ | 334 | skb_reserve (skb, 2); /* 16 byte align */ |
335 | skb_put (skb, len); /* make room */ | 335 | skb_put (skb, len); /* make room */ |
336 | eth_copy_and_sum(skb, | 336 | skb_copy_to_linear_data(skb, |
337 | (unsigned char *)&(ib->rx_buf [lp->rx_new][0]), | 337 | (unsigned char *)&(ib->rx_buf [lp->rx_new][0]), |
338 | len, 0); | 338 | len); |
339 | skb->protocol = eth_type_trans (skb, dev); | 339 | skb->protocol = eth_type_trans (skb, dev); |
340 | netif_rx (skb); | 340 | netif_rx (skb); |
341 | dev->last_rx = jiffies; | 341 | dev->last_rx = jiffies; |