commit | f6b6a8ec9a3bcba8cc9a9c302b514cf3848e7d35 | [log] [tgz] |
---|---|---|
author | David Kershner <david.kershner@unisys.com> | Fri Sep 04 12:01:30 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Sep 13 09:43:40 2015 -0700 |
tree | fe09b256285bb5308dfeef17b55abce244fb1652 | |
parent | 5b12100a53c11ef760e78c2899be8f1bf33812ca [diff] |
staging: unisys: visornic: Fix receive bytes statistics The receive byte statistics was wrong in /proc/net/dev. Move the collection of statistics after the proper amount of bytes has been calculated and make sure you add it to rx_bytes instead of just replacing it. Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>