patch-2.4.3 linux/drivers/net/wan/dlci.c
Next file: linux/drivers/net/wan/dscc4.c
Previous file: linux/drivers/net/wan/cycx_x25.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sat Mar 3 10:55:48 2001
- Orig file:
v2.4.2/linux/drivers/net/wan/dlci.c
- Orig date:
Wed Feb 21 18:20:29 2001
diff -u --recursive --new-file v2.4.2/linux/drivers/net/wan/dlci.c linux/drivers/net/wan/dlci.c
@@ -227,8 +227,10 @@
/* we've set up the protocol, so discard the header */
skb->mac.raw = skb->data;
skb_pull(skb, header);
+ dlp->stats.rx_bytes += skb->len;
netif_rx(skb);
dlp->stats.rx_packets++;
+ dev->last_rx = jiffies;
}
else
dev_kfree_skb(skb);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)