[PATCH] tms380tr: update last_rx after netif_rx

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Mon, 26 Feb 2001 21:41:20 -0300


Hi,

Please consider applying.

- Arnaldo

--- linux-2.4.2/drivers/net/tokenring/tms380tr.c Fri Feb 16 22:02:36 2001
+++ linux-2.4.2.acme/drivers/net/tokenring/tms380tr.c Mon Feb 26 23:11:51 2001
@@ -2203,6 +2203,7 @@
skb_trim(skb,Length);
skb->protocol = tr_type_trans(skb,dev);
netif_rx(skb);
+ dev->last_rx = jiffies;
}
}
else /* Invalid frame */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/