From: françois romieu Date: Thu, 4 Aug 2011 02:37:55 +0000 (+0000) Subject: via-velocity : update receive packets statistics. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3cb7a7986ace516b97bb6bee2a78eba73e616a87;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git via-velocity : update receive packets statistics. Addresses https://bugzilla.kernel.org/show_bug.cgi?id=14076. Signed-off-by: Francois Romieu Tested-by: Jon Nelson Signed-off-by: David S. Miller --- diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index deb1eca13c9f..ae66696d4ac8 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c @@ -2092,6 +2092,7 @@ static int velocity_receive_frame(struct velocity_info *vptr, int idx) netif_rx(skb); stats->rx_bytes += pkt_len; + stats->rx_packets++; return 0; }