comx: update last_rx after netif_rx

comx: update last_rx after netif_rx

Post by Arnaldo Carvalho de Mel » Wed, 28 Feb 2001 11:30:05



Hi,

        Please consider applying.

- Arnaldo

--- linux-2.4.2/drivers/net/wan/comx.c  Thu Nov 16 20:08:25 2000

        }
        if (skb) {
                netif_rx(skb);
+               dev->last_rx = jiffies;
        }
        return 0;
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. comx-proto-lapb: update last_rx after netif_rx

Hi,

        Please consider applying.

- Arnaldo

--- linux-2.4.2/drivers/net/wan/comx-proto-lapb.c       Sun Nov 12 01:02:39 2000

                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;
        }


                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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. HELP: Compiling Apache 3.0

3. sealevel: update last_rx after netif_rx

4. Problem w/nohup and mksysb

5. dlci: update last_rx after netif_rx

6. Shutdown listen socket without clearing listen queue.

7. hostess_sv11: update last_rx after netif_rx

8. Writing a Device Driver

9. cycx_x25: update last_rx after netif_rx

10. cosa: update last_rx after netif_rx

11. sbni: update last_rx after netif_rx

12. Informix problems afters Y2K Solaris 2.5 patch

13. callback, ppp, and morning-afters