patch-2.4.2 linux/drivers/net/plip.c
Next file: linux/drivers/net/ppp_async.c
Previous file: linux/drivers/net/pcnet32.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/plip.c
- Orig date:
Mon Dec 11 12:39:45 2000
diff -u --recursive --new-file v2.4.1/linux/drivers/net/plip.c linux/drivers/net/plip.c
@@ -728,6 +728,7 @@
/* Inform the upper layer for the arrival of a packet. */
rcv->skb->protocol=plip_type_trans(rcv->skb, dev);
netif_rx(rcv->skb);
+ dev->last_rx = jiffies;
nl->enet_stats.rx_bytes += rcv->length.h;
nl->enet_stats.rx_packets++;
rcv->skb = NULL;
@@ -994,7 +995,6 @@
netif_wake_queue (dev);
case PLIP_CN_NONE:
case PLIP_CN_SEND:
- dev->last_rx = jiffies;
rcv->state = PLIP_PK_TRIGGER;
nl->connection = PLIP_CN_RECEIVE;
nl->timeout_count = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)