[PATCH] mv643xx_eth: Update dev->last_rx on packet receive
authorPaolo Galtieri <pgaltieri@mvista.com>
Fri, 27 Jan 2006 08:03:38 +0000 (01:03 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 27 Jan 2006 16:09:24 +0000 (11:09 -0500)
Update dev->last_rx on packet receive

This fix corrects errors seen during configuration of the bonding driver.

Signed-off-by: Paolo Galtieri <pgaltieri@mvista.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/mv643xx_eth.c

index 9eeb8db10af9803b27a9b83b3bdd43c05933108d..f1e708a5c2deb0962ff53268305ab0012c4c32b6 100644 (file)
@@ -444,6 +444,7 @@ static int mv643xx_eth_receive_queue(struct net_device *dev)
                        netif_rx(skb);
 #endif
                }
+               dev->last_rx = jiffies;
        }
 
        return received_packets;