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

Next file: linux/drivers/net/hamachi.c
Previous file: linux/drivers/net/fmv18x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/net/gmac.c linux/drivers/net/gmac.c
@@ -1209,8 +1209,9 @@
 				skb->ip_summed = CHECKSUM_NONE;
 			skb->ip_summed = CHECKSUM_NONE;
 			skb->protocol = eth_type_trans(skb, dev);
-			netif_rx(skb);
 			gm->stats.rx_bytes += skb->len;
+			netif_rx(skb);
+			dev->last_rx = jiffies;
 			++gm->stats.rx_packets;
 		}
 		

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