Messages in this thread Patch in this message | | | Date | Mon, 26 Feb 2001 22:16:02 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | [PATCH] hostess_sv11: update last_rx after netif_rx |
| |
Hi,
Please consider applying.
- Arnaldo
--- linux-2.4.2/drivers/net/wan/hostess_sv11.c Sun Aug 13 18:57:35 2000 +++ linux-2.4.2.acme/drivers/net/wan/hostess_sv11.c Mon Feb 26 23:48:32 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; } /* - 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/
| |