diff --git a/drivers/net/e100/e100_main.c b/drivers/net/e100/e100_main.c index 631d7211ddb58c14f5bbe682a3714447c27ec9d4..9d8d7a1e85aa1de08c5dbd74623001fffeb90555 100644 --- a/drivers/net/e100/e100_main.c +++ b/drivers/net/e100/e100_main.c @@ -2068,13 +2068,14 @@ e100_rx_srv(struct e100_private *bdp) skb->ip_summed = CHECKSUM_NONE; } + bdp->drv_stats.net_stats.rx_bytes += skb->len; + if(bdp->vlgrp && (rfd_status & CB_STATUS_VLAN)) { vlan_hwaccel_rx(skb, bdp->vlgrp, be16_to_cpu(rfd->vlanid)); } else { netif_rx(skb); } dev->last_rx = jiffies; - bdp->drv_stats.net_stats.rx_bytes += skb->len; rfd_cnt++; } /* end of rfd loop */