diff options
author | françois romieu <romieu@fr.zoreil.com> | 2011-08-04 02:37:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-07 22:00:37 -0700 |
commit | 3cb7a7986ace516b97bb6bee2a78eba73e616a87 (patch) | |
tree | 16ada03f05ee261ada188908ffcb6b2b4f1e04ab /drivers/net | |
parent | f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2 (diff) | |
download | linux-3cb7a7986ace516b97bb6bee2a78eba73e616a87.tar.bz2 |
via-velocity : update receive packets statistics.
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=14076.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Tested-by: Jon Nelson <jnelson@jamponi.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/via-velocity.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |