Skip to content

Commit

Permalink
via-velocity : update receive packets statistics.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
françois romieu authored and David S. Miller committed Aug 8, 2011
1 parent f3f70bf commit 3cb7a79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/via-velocity.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3cb7a79

Please sign in to comment.