linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sealevel: update last_rx after netif_rx
@ 2001-02-27  2:44 Arnaldo Carvalho de Melo
  0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2001-02-27  2:44 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

Hi,

	Please consider applying.

- Arnaldo

--- linux-2.4.2/drivers/net/wan/sealevel.c	Sun Aug 13 18:57:35 2000
+++ linux-2.4.2.acme/drivers/net/wan/sealevel.c	Tue Feb 27 01:07:31 2001
@@ -59,7 +59,7 @@
 {
 	/* Drop the CRC - its not a good idea to try and negotiate it ;) */
 	skb_trim(skb, skb->len-2);
-	skb->protocol=htons(ETH_P_WAN_PPP);
+	skb->protocol=__constant_htons(ETH_P_WAN_PPP);
 	skb->mac.raw=skb->data;
 	skb->dev=c->netdevice;
 	/*
@@ -67,6 +67,7 @@
 	 *	it right now.
 	 */
 	netif_rx(skb);
+	c->netdevice->last_rx = jiffies;
 }
  
 /*

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-27  4:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-27  2:44 [PATCH] sealevel: update last_rx after netif_rx Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).