patch-2.4.2 linux/drivers/net/mace.c
Next file: linux/drivers/net/macmace.c
Previous file: linux/drivers/net/mac89x0.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Feb 13 13:15:05 2001
- Orig file:
v2.4.1/linux/drivers/net/mace.c
- Orig date:
Sat Dec 30 11:23:14 2000
diff -u --recursive --new-file v2.4.1/linux/drivers/net/mace.c linux/drivers/net/mace.c
@@ -826,9 +826,10 @@
skb_put(skb, nb);
skb->dev = dev;
skb->protocol = eth_type_trans(skb, dev);
+ mp->stats.rx_bytes += skb->len;
netif_rx(skb);
+ dev->last_rx = jiffies;
mp->rx_bufs[i] = 0;
- mp->stats.rx_bytes += skb->len;
++mp->stats.rx_packets;
}
} else {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)