patch-2.4.2 linux/drivers/net/sonic.c

Next file: linux/drivers/net/strip.c
Previous file: linux/drivers/net/smc9194.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/net/sonic.c linux/drivers/net/sonic.c
@@ -339,6 +339,7 @@
 	    eth_copy_and_sum(skb, pkt_ptr, pkt_len, 0);
 	    skb->protocol=eth_type_trans(skb,dev);
 	    netif_rx(skb);			/* pass the packet to upper layers */
+	    dev->last_rx = jiffies;
 	    lp->stats.rx_packets++;
 	    lp->stats.rx_bytes += pkt_len;
 	    

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)