Please consider applying.
- Arnaldo
--- linux-2.4.2/drivers/net/wan/comx-proto-lapb.c Sun Nov 12 01:02:39 2000
+++ linux-2.4.2.acme/drivers/net/wan/comx-proto-lapb.c Mon Feb 26 23:23:15 2001
@@ -306,11 +306,12 @@
p = skb_put(skb,1);
*p = 0x01; // link established
skb->dev = ch->dev;
- skb->protocol = htons(ETH_P_X25);
+ skb->protocol = __constant_htons(ETH_P_X25);
skb->mac.raw = skb->data;
skb->pkt_type = PACKET_HOST;
netif_rx(skb);
+ ch->dev->last_rx = jiffies;
}
for (; comxdir; comxdir = comxdir->next) {
@@ -345,11 +346,12 @@
p = skb_put(skb,1);
*p = 0x02; // link disconnected
skb->dev = ch->dev;
- skb->protocol = htons(ETH_P_X25);
+ skb->protocol = __constant_htons(ETH_P_X25);
skb->mac.raw = skb->data;
skb->pkt_type = PACKET_HOST;
netif_rx(skb);
+ ch->dev->last_rx = jiffies;
}
for (; comxdir; comxdir = comxdir->next) {
-
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/