patch-2.4.2 linux/drivers/net/arcnet/rfc1201.c

Next file: linux/drivers/net/ariadne.c
Previous file: linux/drivers/net/arcnet/rfc1051.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/net/arcnet/rfc1201.c linux/drivers/net/arcnet/rfc1201.c
@@ -14,7 +14,7 @@
  * skeleton.c Written 1993 by Donald Becker.
  * Copyright 1993 United States Government as represented by the
  * Director, National Security Agency.  This software may only be used
- * and distributed according to the terms of the GNU Public License as
+ * and distributed according to the terms of the GNU General Public License as
  * modified by SRC, incorporated herein by reference.
  *
  * **********************
@@ -230,6 +230,7 @@
 
 		skb->protocol = type_trans(skb, dev);
 		netif_rx(skb);
+		dev->last_rx = jiffies;
 	} else {		/* split packet */
 		/*
 		 * NOTE: MSDOS ARP packet correction should only need to apply to
@@ -365,6 +366,7 @@
 
 			skb->protocol = type_trans(skb, dev);
 			netif_rx(skb);
+			dev->last_rx = jiffies;
 		}
 	}
 }

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