patch-2.4.2 linux/drivers/net/loopback.c
Next file: linux/drivers/net/mac89x0.c
Previous file: linux/drivers/net/lne390.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Feb 13 13:15:05 2001
- Orig file:
v2.4.1/linux/drivers/net/loopback.c
- Orig date:
Mon Mar 27 10:35:56 2000
diff -u --recursive --new-file v2.4.1/linux/drivers/net/loopback.c linux/drivers/net/loopback.c
@@ -85,12 +85,14 @@
#ifndef LOOPBACK_MUST_CHECKSUM
skb->ip_summed = CHECKSUM_UNNECESSARY;
#endif
- netif_rx(skb);
+ dev->last_rx = jiffies;
stats->rx_bytes+=skb->len;
stats->tx_bytes+=skb->len;
stats->rx_packets++;
stats->tx_packets++;
+
+ netif_rx(skb);
return(0);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)