diff options
Diffstat (limited to 'drivers/net/3c523.c')
-rw-r--r-- | drivers/net/3c523.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/3c523.c b/drivers/net/3c523.c index da1a22c13865..ab18343e58ef 100644 --- a/drivers/net/3c523.c +++ b/drivers/net/3c523.c | |||
@@ -990,7 +990,7 @@ static void elmc_rcv_int(struct net_device *dev) | |||
990 | if (skb != NULL) { | 990 | if (skb != NULL) { |
991 | skb_reserve(skb, 2); /* 16 byte alignment */ | 991 | skb_reserve(skb, 2); /* 16 byte alignment */ |
992 | skb_put(skb,totlen); | 992 | skb_put(skb,totlen); |
993 | eth_copy_and_sum(skb, (char *) p->base+(unsigned long) rbd->buffer,totlen,0); | 993 | skb_copy_to_linear_data(skb, (char *) p->base+(unsigned long) rbd->buffer,totlen); |
994 | skb->protocol = eth_type_trans(skb, dev); | 994 | skb->protocol = eth_type_trans(skb, dev); |
995 | netif_rx(skb); | 995 | netif_rx(skb); |
996 | dev->last_rx = jiffies; | 996 | dev->last_rx = jiffies; |